Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
e9203a0c94
2 changed files with 4 additions and 3 deletions
  1. 2 2
      system/gotty/.gotty
  2. 2 1
      web/components/networktools.html

+ 2 - 2
system/gotty/.gotty

@@ -169,11 +169,11 @@
 
   // [bool] Ctrl+C copies if true, send ^C to host if false.
   //        Ctrl+Shift+C sends ^C to host if true, copies if false.
-  ctrl_c_copy = false
+  ctrl_c_copy = true
 
   // [bool] Ctrl+V pastes if true, send ^V to host if false.
   //        Ctrl+Shift+V sends ^V to host if true, pastes if false.
-  ctrl_v_paste = false
+  ctrl_v_paste = true
 
   // [bool] Set whether East Asian Ambiguous characters have two column width.
   // east_asian_ambiguous_as_two_column = false

+ 2 - 1
web/components/networktools.html

@@ -62,7 +62,8 @@
 </script>
 <script>
 function launchToolWithSize(url, width, height){
-    window.open(url,'targetWindow',
+    let windowName = Date.now();
+    window.open(url,'w'+windowName,
     `toolbar=no,
     location=no,
     status=no,