diff options
author | John Hawthorn <john@hawthorn.email> | 2019-12-27 23:01:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-27 23:01:53 -0800 |
commit | 04c342cd0bbff6f9a790ba1f3abc79517bbec096 (patch) | |
tree | b2018b00dbdf326ac14163291423e351465e6124 /src | |
parent | 25ebdd4f95f024bce2ec5b84f72c30bbd63ed57a (diff) | |
parent | 475003faa06686831d7c7ae6b8b95a666ecd0986 (diff) |
Merge pull request #125 from gpanders/ctrl-g-exit
Cancel with Ctrl-G
Diffstat (limited to 'src')
-rw-r--r-- | src/tty_interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tty_interface.c b/src/tty_interface.c index e87301d..aa67f1f 100644 --- a/src/tty_interface.c +++ b/src/tty_interface.c @@ -291,6 +291,7 @@ static const keybinding_t keybindings[] = {{"\x1b", action_exit}, /* ESC * {KEY_CTRL('I'), action_autocomplete}, /* TAB (C-I ) */ {KEY_CTRL('C'), action_exit}, /* C-C */ {KEY_CTRL('D'), action_exit}, /* C-D */ + {KEY_CTRL('G'), action_exit}, /* C-G */ {KEY_CTRL('M'), action_emit}, /* CR */ {KEY_CTRL('P'), action_prev}, /* C-P */ {KEY_CTRL('N'), action_next}, /* C-N */ |