From 7d8766980b0b3604d9fe77850faa62092ff5c786 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 27 Jan 2014 02:17:31 -0800 Subject: Support escape or up-arrow to cancel the completion search field. --- input.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'input.h') 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); -- cgit v1.2.3