aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-27 02:17:31 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-27 02:17:31 -0800
commit7d8766980b0b3604d9fe77850faa62092ff5c786 (patch)
treefdc17785de339cdfbab1299f93d8603f8fa34c60 /input.h
parent5be3606236bd2185d93162fcad097d8c30f84885 (diff)
Support escape or up-arrow to cancel the completion search field.
Diffstat (limited to 'input.h')
-rw-r--r--input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/input.h b/input.h
index 2d71a5ae..56f6e249 100644
--- a/input.h
+++ b/input.h
@@ -58,7 +58,8 @@ enum
R_UP_LINE,
R_DOWN_LINE,
R_SUPPRESS_AUTOSUGGESTION,
- R_ACCEPT_AUTOSUGGESTION
+ R_ACCEPT_AUTOSUGGESTION,
+ R_CANCEL
};
wcstring describe_char(wchar_t c);