Explorar el Código

Add call to vte_terminal_set_word_chars.

Signed-off-by: Bradley Smith <[email protected]>
Bradley Smith hace 15 años
padre
commit
289bdc6ffd
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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",