Commit 23c7cd0f authored by Egmont Koblinger's avatar Egmont Koblinger
Browse files

emulation: Fix escape sequence of Ctrl+Backspace

https://bugzilla.gnome.org/show_bug.cgi?id=733246
parent bd86e763
......@@ -5012,6 +5012,13 @@ vte_terminal_key_press(GtkWidget *widget, GdkEventKey *event)
suppress_meta_esc = FALSE;
break;
}
/* Toggle ^H vs ^? if Ctrl is pressed */
if (normal_length == 1 && modifiers & GDK_CONTROL_MASK) {
if (normal[0] == '\010')
normal[0] = '\177';
else if (normal[0] == '\177')
normal[0] = '\010';
}
handled = TRUE;
break;
case GDK_KEY_KP_Delete:
......
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