aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-29 14:19:45 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-03-29 14:19:45 -0700
commitd4fafeb6d66e415e85c67700e5a370765c09bb93 (patch)
tree7e208d860649e8651180b281ec715a96169a9dbe /input.h
parent844b01cb6be2ab3a3f7070112c94604b43710835 (diff)
parent31bf50b2d495222925371556169f61c1c5a81ed7 (diff)
Merge branch 'master' into 1218_rebase
Conflicts: builtin.cpp builtin_commandline.cpp highlight.cpp input.cpp input.h reader.cpp screen.cpp screen.h
Diffstat (limited to 'input.h')
-rw-r--r--input.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/input.h b/input.h
index e29b0882..29ce7871 100644
--- a/input.h
+++ b/input.h
@@ -18,6 +18,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
{
@@ -35,6 +37,7 @@ enum
R_YANK,
R_YANK_POP,
R_COMPLETE,
+ R_COMPLETE_AND_SEARCH,
R_BEGINNING_OF_HISTORY,
R_END_OF_HISTORY,
R_BACKWARD_KILL_LINE,
@@ -42,7 +45,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,
@@ -67,9 +69,11 @@ enum
R_KILL_SELECTION,
R_FORWARD_JUMP,
R_BACKWARD_JUMP,
- R_AND
-}
-;
+ R_AND,
+ R_CANCEL
+};
+
+wcstring describe_char(wint_t c);
#define R_MIN R_NULL
#define R_MAX R_AND