summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/getstring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/getstring.c b/src/getstring.c
index 6dfb470..54f78c1 100644
--- a/src/getstring.c
+++ b/src/getstring.c
@@ -256,6 +256,7 @@ enum getstr getstring(WINDOW * win, char *str, int l, int x, int y)
st.pos++;
break;
case ESCAPE: /* cancel editing */
+ case CTRL('G'):
return GETSTRING_ESC;
break;
default: /* insert one character */