Created
November 20, 2011 10:42
-
-
Save lanior/1380134 to your computer and use it in GitHub Desktop.
Patch GNOME vte3 to send ^W on C-Backspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/vte.c | |
+++ b/src/vte.c | |
@@ -5318,11 +5318,7 @@ | |
suppress_meta_esc = FALSE; | |
break; | |
case VTE_ERASE_ASCII_DELETE: | |
- if (modifiers & GDK_CONTROL_MASK) { | |
- normal = g_strdup("\027"); | |
- } else { | |
- normal = g_strdup("\177"); | |
- } | |
+ normal = g_strdup(""); | |
normal_length = 1; | |
suppress_meta_esc = FALSE; | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment