summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-readline.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-04-07 14:57:58 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-04-07 14:57:58 +0000
commit01a2e609aba07ad7d54b0e5dd397458ad1b1b94c (patch)
treead14ba1aa6c90a34896d5df6e7bf3f2bd023fa59 /src/fe-text/gui-readline.c
parenta6ecce1d39091f181b0961e54f822ff7959c93c1 (diff)
downloadirssi-01a2e609aba07ad7d54b0e5dd397458ad1b1b94c.zip
Bind also CSI 1 ; 5 D to key cleft and CSI 1 ; 5 C to key cright.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4440 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-readline.c')
-rw-r--r--src/fe-text/gui-readline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index 52e100f0..cde03cdc 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -1080,6 +1080,8 @@ void gui_readline_init(void)
key_bind("key", NULL, "meta2-c", "cright", (SIGNAL_FUNC) key_combo);
key_bind("key", NULL, "meta2-5D", "cleft", (SIGNAL_FUNC) key_combo);
key_bind("key", NULL, "meta2-5C", "cright", (SIGNAL_FUNC) key_combo);
+ key_bind("key", NULL, "meta2-1;5D", "cleft", (SIGNAL_FUNC) key_combo);
+ key_bind("key", NULL, "meta2-1;5C", "cright", (SIGNAL_FUNC) key_combo);
/* cursor movement */
key_bind("backward_character", "", "left", NULL, (SIGNAL_FUNC) key_backward_character);