diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-08-16 18:45:42 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-08-16 18:45:42 -0700 |
commit | e2f16ec20e1e47a76746fefc252a1f9c548b7766 (patch) | |
tree | cd399dc3eb5f8f091c02b3486035b9c57e6b9a35 /src/input.h | |
parent | b615534d8d67e1891437277fa781196111426f80 (diff) |
Define a constant for function-not-found in input.cpp
Avoids differences in widths of wchar_t, hopefully addressing
issue #2284
Diffstat (limited to 'src/input.h')
-rw-r--r-- | src/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h index 38facddb..9f627db4 100644 --- a/src/input.h +++ b/src/input.h @@ -194,6 +194,7 @@ bool input_terminfo_get_name(const wcstring &seq, wcstring *out_name); wcstring_list_t input_terminfo_get_names(bool skip_null); /** Returns the input function code for the given input function name. */ +#define INPUT_CODE_NONE (wchar_t(-1)) wchar_t input_function_get_code(const wcstring &name); /** Returns a list of all existing input function names */ |