Commit 4faae4ba authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Behdad Esfahbod

Handle Ctrl+Shift+Insert to paste PRIMARY.

2006-02-13  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (vte_terminal_key_press): Handle Ctrl+Shift+Insert to
        paste PRIMARY.
parent b93f42ff
2006-02-13 Behdad Esfahbod <behdad@gnome.org>
* src/vte.c (vte_terminal_key_press): Handle Ctrl+Shift+Insert to
paste PRIMARY.
2006-02-11 Behdad Esfahbod <behdad@gnome.org>
Released vte-0.11.18.
......
......@@ -3919,9 +3919,15 @@ vte_terminal_key_press(GtkWidget *widget, GdkEventKey *event)
case GDK_KP_Insert:
case GDK_Insert:
if (terminal->pvt->modifiers & GDK_SHIFT_MASK) {
vte_terminal_paste_clipboard(terminal);
handled = TRUE;
suppress_meta_esc = TRUE;
if (terminal->pvt->modifiers & GDK_CONTROL_MASK) {
vte_terminal_paste_primary(terminal);
handled = TRUE;
suppress_meta_esc = TRUE;
} else {
vte_terminal_paste_clipboard(terminal);
handled = TRUE;
suppress_meta_esc = TRUE;
}
} else if (terminal->pvt->modifiers & GDK_CONTROL_MASK) {
vte_terminal_copy_clipboard(terminal);
handled = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment