mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-13 21:11: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:
@@ -455,7 +455,7 @@ static int builtin_commandline(parser_t &parser, wchar_t **argv)
|
||||
for (i=w.woptind; i<argc; i++)
|
||||
{
|
||||
wchar_t c = input_function_get_code(argv[i]);
|
||||
if (c != (wchar_t)(-1))
|
||||
if (c != INPUT_CODE_NONE)
|
||||
{
|
||||
/*
|
||||
input_unreadch inserts the specified keypress or
|
||||
|
||||
Reference in New Issue
Block a user