aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-21 16:08:35 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-21 16:08:35 -0800
commit9edf9ad2acb61a3d7e523c4903abda62655e45c9 (patch)
tree4740486a1152d98d8ea99b8e32e571de2c131ebb /input.h
parentb758c0c335ad9d504d7a76baa5a331e9abf0ede5 (diff)
Correct the correspondence between name_arr and the input codes.
Diffstat (limited to 'input.h')
-rw-r--r--input.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/input.h b/input.h
index c5722b2f..3818859b 100644
--- a/input.h
+++ b/input.h
@@ -14,6 +14,8 @@ inputrc information for key bindings.
/**
Key codes for inputrc-style keyboard functions that are passed on
to the caller of input_read()
+
+ NOTE: IF YOU MODIFY THIS YOU MUST UPDATE THE name_arr AND code_arr VARIABLES TO MATCH!
*/
enum
{
@@ -38,7 +40,6 @@ enum
R_KILL_WORD,
R_BACKWARD_KILL_WORD,
R_BACKWARD_KILL_PATH_COMPONENT,
- R_DUMP_FUNCTIONS,
R_HISTORY_TOKEN_SEARCH_BACKWARD,
R_HISTORY_TOKEN_SEARCH_FORWARD,
R_SELF_INSERT,
@@ -57,8 +58,9 @@ enum
R_DOWN_LINE,
R_SUPPRESS_AUTOSUGGESTION,
R_ACCEPT_AUTOSUGGESTION
-}
-;
+};
+
+wcstring describe_char(wchar_t c);
/**
Initialize the terminal by calling setupterm, and set up arrays