mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
Add command to temporarily suppress the autosuggestion feature
Autosuggestion will be automatically re-enabled next time a character is inserted. An alternative implementation would require another command to explicitly re-enable it. Signed-off-by: Ian Munsie <darkstarsword@gmail.com>
This commit is contained in:
committed by
ridiculousfish
parent
2b24eab26a
commit
c8f86d94c9
@@ -129,7 +129,8 @@ static const wchar_t *name_arr[] =
|
||||
L"end-of-buffer",
|
||||
L"repaint",
|
||||
L"up-line",
|
||||
L"down-line"
|
||||
L"down-line",
|
||||
L"suppress-autosuggestion"
|
||||
}
|
||||
;
|
||||
|
||||
@@ -210,7 +211,8 @@ static const wchar_t code_arr[] =
|
||||
R_END_OF_BUFFER,
|
||||
R_REPAINT,
|
||||
R_UP_LINE,
|
||||
R_DOWN_LINE
|
||||
R_DOWN_LINE,
|
||||
R_SUPPRESS_AUTOSUGGESTION,
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user