summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Anders <greg@gpanders.com>2019-10-13 16:10:34 -0600
committerGreg Anders <greg@gpanders.com>2019-10-13 18:13:06 -0600
commit475003faa06686831d7c7ae6b8b95a666ecd0986 (patch)
treedb59f1c19bf4a3d0260b78269aa1cbdd67ab7739 /src
parentf770d7da17850036df887b2f41a86c38ba255135 (diff)
Cancel with Ctrl-G
Diffstat (limited to 'src')
-rw-r--r--src/tty_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tty_interface.c b/src/tty_interface.c
index 225f33a..2dec81a 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 */