diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-11-02 00:15:58 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-11-02 00:15:58 +0100 |
commit | 50775e92e64561837e6c805fc8fef19aedaafeb4 (patch) | |
tree | 84c5930e3a761e8bda34c50d15987081af2043ba /src/fe-text | |
parent | 8d1f667100fdd5ff331f4f9e4b922c4a9db7c53d (diff) | |
parent | 58a166484ad7eab33c1ad72b64016e5aacebfaf5 (diff) | |
download | irssi-50775e92e64561837e6c805fc8fef19aedaafeb4.zip |
Merge pull request #330 from dequis/xterm-keypad-enter
Add xterm's keypad enter, meta-O-M to "key return" bindings
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-readline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index ec61e317..dc7185e7 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -1020,6 +1020,8 @@ void gui_readline_init(void) key_bind("key", NULL, "meta2-5F", "cend", (SIGNAL_FUNC) key_combo); key_bind("key", NULL, "meta2-1;5F", "cend", (SIGNAL_FUNC) key_combo); + key_bind("key", NULL, "meta-O-M", "return", (SIGNAL_FUNC) key_combo); + /* cursor movement */ key_bind("backward_character", "Move the cursor a character backward", "left", NULL, (SIGNAL_FUNC) key_backward_character); key_bind("forward_character", "Move the cursor a character forward", "right", NULL, (SIGNAL_FUNC) key_forward_character); |