diff options
author | Michael Stock <mikeastock@gmail.com> | 2017-01-17 21:41:15 -0800 |
---|---|---|
committer | Michael Stock <mikeastock@gmail.com> | 2017-01-17 21:41:15 -0800 |
commit | 5a3ce8bad8af2f65755bcde223129e240c53b46c (patch) | |
tree | 950b92ff042752990738eb0e886eb23e72594df0 /src/tty_interface.c | |
parent | b0941d60d2c626f2291ecbf6ce60b03f7db3b8e1 (diff) |
Support movement with CTRL-J/CTRL-K
Diffstat (limited to 'src/tty_interface.c')
-rw-r--r-- | src/tty_interface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tty_interface.c b/src/tty_interface.c index db0b7e2..9bc732b 100644 --- a/src/tty_interface.c +++ b/src/tty_interface.c @@ -227,6 +227,8 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */ {KEY_CTRL('M'), action_emit}, /* CR */ {KEY_CTRL('P'), action_prev}, /* C-P */ {KEY_CTRL('N'), action_next}, /* C-N */ + {KEY_CTRL('K'), action_prev}, /* C-J */ + {KEY_CTRL('J'), action_next}, /* C-K */ {"\x1b[A", action_prev}, /* UP */ {"\x1bOA", action_prev}, /* UP */ |