summaryrefslogtreecommitdiffstats
path: root/patches/source/screen/45suppress_remap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/screen/45suppress_remap.patch')
-rw-r--r--patches/source/screen/45suppress_remap.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/source/screen/45suppress_remap.patch b/patches/source/screen/45suppress_remap.patch
new file mode 100644
index 00000000..85109a2e
--- /dev/null
+++ b/patches/source/screen/45suppress_remap.patch
@@ -0,0 +1,13 @@
+Author: Loic Minier <lool@dooz.org>
+Description: Unbreak several useful keybindings.
+--- a/termcap.c
++++ b/termcap.c
+@@ -552,8 +552,6 @@
+ else
+ break;
+ }
+- if (n < KMAP_KEYS)
+- domap = 1;
+ if (map == 0 && domap)
+ return 0;
+ if (map && !domap)