Define a constant for function-not-found in input.cpp

Avoids differences in widths of wchar_t, hopefully addressing
issue #2284
This commit is contained in:
ridiculousfish
2015-08-16 18:45:42 -07:00
parent b615534d8d
commit e2f16ec20e
3 changed files with 5 additions and 6 deletions

View File

@@ -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 */