mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-01 18:31:14 -03:00
Fix search field state not resetting after search field is hidden
Commit4f536d6a9b(Update commandline state snapshot lazily, 2024-04-13) add an optimization to update the search field only if necessary. The optimization accidentally prevents us from resetting the search field. Fixes #11161 (cherry picked from commit72f2433120)
This commit is contained in:
@@ -71,7 +71,7 @@ The following options change what part of the commandline is printed or updated:
|
||||
Selects the current token
|
||||
|
||||
**--search-field**
|
||||
Use the pager search field instead of the command line. Returns false is the search field is not shown.
|
||||
Use the pager search field instead of the command line. Returns false if the search field is not shown.
|
||||
|
||||
The following options change the way ``commandline`` prints the current commandline buffer:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user