Parcourir la source

Add call to vte_terminal_set_word_chars.

Signed-off-by: Bradley Smith <[email protected]>
Bradley Smith il y a 15 ans
Parent
commit
289bdc6ffd
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/mssh-terminal.c

+ 3 - 0
src/mssh-terminal.c

@@ -85,6 +85,9 @@ static void mssh_terminal_init(MSSHTerminal* terminal)
     terminal->started = 0;
     terminal->ended = 0;
 
+    vte_terminal_set_word_chars(VTE_TERMINAL(terminal),
+        "-A-Za-z0-9,./?%&#:_=+@~");
+
     g_signal_connect(G_OBJECT(terminal), "child-exited",
         G_CALLBACK(mssh_terminal_child_exited), terminal);
     g_signal_connect(G_OBJECT(terminal), "focus-in-event",