about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-29 21:08:20 +0100
committerJames Booth <boothj5@gmail.com>2015-09-29 21:08:42 +0100
commit09833fb0dd1b778ea1e0078af7fb3a8e734e21a2 (patch)
treec1b7c2f82c06246aacc2a5fea0340b94b4e6d82c
parentbfdda17b7f5047100da7c9d0050cad487b037a0e (diff)
downloadprofani-tty-09833fb0dd1b778ea1e0078af7fb3a8e734e21a2.tar.gz
Unmap key sequence Alt+=
Fixes #629
-rw-r--r--src/ui/inputwin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index 5ab2c281..af738cc6 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -395,6 +395,9 @@ _inp_rl_startup_hook(void)
     rl_bind_key('\t', _inp_rl_tab_handler);
     rl_bind_key(CTRL('L'), _inp_rl_clear_handler);
 
+    // unbind unwanted mappings
+    rl_bind_keyseq("\\e=", NULL);
+
     return 0;
 }