irssi/irssi-support-meta-cursor-xterm.patch

13 lines
587 B
Diff

Index: src/fe-text/gui-readline.c
===================================================================
--- src/fe-text/gui-readline.c (revision 4490)
+++ src/fe-text/gui-readline.c (working copy)
@@ -1058,6 +1058,7 @@
key_bind("key", NULL, "meta-[", "meta2", (SIGNAL_FUNC) key_combo);
key_bind("key", NULL, "meta-O", "meta2", (SIGNAL_FUNC) key_combo);
key_bind("key", NULL, "meta-[O", "meta2", (SIGNAL_FUNC) key_combo);
+ key_bind("key", NULL, "[1;3", "meta2", (SIGNAL_FUNC) key_combo);
/* arrow keys */
key_bind("key", NULL, "meta2-A", "up", (SIGNAL_FUNC) key_combo);