Prechádzať zdrojové kódy

auto update script executed

Toby Chui 1 rok pred
rodič
commit
bf02b5d88b
2 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 1 1
      mod/sshprox/sshprox.go
  2. 2 2
      system/gotty/.gotty

+ 1 - 1
mod/sshprox/sshprox.go

@@ -140,7 +140,7 @@ func (i *Instance) CreateNewConnection(listenPort int, username string, remoteIp
 		connAddr = username + "@" + remoteIpAddr
 	}
 	configPath := filepath.Join(filepath.Dir(i.ExecPath), ".gotty")
-	cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "--once", "--config", configPath, "ssh", connAddr, "-p", strconv.Itoa(remotePort))
+	cmd := exec.Command(i.ExecPath, "-w", "-p", strconv.Itoa(listenPort), "--once", "--config", configPath, "--term", "hterm", "ssh", connAddr, "-p", strconv.Itoa(remotePort))
 	cmd.Dir = filepath.Dir(i.ExecPath)
 	cmd.Stdout = os.Stdout
 	cmd.Stderr = os.Stderr

+ 2 - 2
system/gotty/.gotty

@@ -155,10 +155,10 @@
   // color_palette_overrides = null
 
   // [bool] Automatically copy mouse selection to the clipboard.
-  copy_on_select = false
+  copy_on_select = true
 
   // [bool] Whether to use the default window copy behaviour
-  use_default_window_copy = true
+  //use_default_window_copy = false
 
   // [bool] Whether to clear the selection after copying.
   clear_selection_after_copy = false