mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:41:42 +08:00
Fix PagerAndSearch not focusing the search field
Boolean confusion Fixes #10220
This commit is contained in:
parent
fdc45452b6
commit
5d3aea363e
|
@ -2181,7 +2181,7 @@ impl ReaderData {
|
|||
let sfs = self.pager.is_search_field_shown();
|
||||
self.pager.set_search_field_shown(!sfs);
|
||||
self.pager.set_fully_disclosed();
|
||||
if self.pager.is_search_field_shown() && self.is_navigating_pager_contents() {
|
||||
if self.pager.is_search_field_shown() && !self.is_navigating_pager_contents() {
|
||||
self.select_completion_in_direction(SelectionMotion::South, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user