Skip to content

Commit

Permalink
Add xterm's keypad enter, meta2-M to "key return" bindings
Browse files Browse the repository at this point in the history
From the 'kent' terminfo entry. Also applies to putty.

Fixes irssi#327
  • Loading branch information
dequis committed Oct 6, 2015
1 parent 48375c3 commit a017141
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fe-text/gui-readline.c
Expand Up @@ -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, "meta2-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);
Expand Down

0 comments on commit a017141

Please sign in to comment.