mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user