mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Support escape or up-arrow to cancel the completion search field.
This commit is contained in:
@@ -129,7 +129,8 @@ static const wchar_t * const name_arr[] =
|
||||
L"up-line",
|
||||
L"down-line",
|
||||
L"suppress-autosuggestion",
|
||||
L"accept-autosuggestion"
|
||||
L"accept-autosuggestion",
|
||||
L"cancel"
|
||||
};
|
||||
|
||||
wcstring describe_char(wchar_t c)
|
||||
@@ -227,7 +228,8 @@ static const wchar_t code_arr[] =
|
||||
R_UP_LINE,
|
||||
R_DOWN_LINE,
|
||||
R_SUPPRESS_AUTOSUGGESTION,
|
||||
R_ACCEPT_AUTOSUGGESTION
|
||||
R_ACCEPT_AUTOSUGGESTION,
|
||||
R_CANCEL
|
||||
};
|
||||
|
||||
/** Mappings for the current input mode */
|
||||
|
||||
Reference in New Issue
Block a user