mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 05:17:08 +08:00
Fix misleading comment in set_buffer_maintaining_pager()
This function used to clear the pager search field but it no longer does. No functional change.
This commit is contained in:
parent
2e8ecfdb44
commit
1fc3d51dde
@ -2493,7 +2493,7 @@ void reader_data_t::set_buffer_maintaining_pager(const wcstring &b, size_t pos,
|
||||
if (pos > command_line_len) pos = command_line_len; //!OCLINT(parameter reassignment)
|
||||
update_buff_pos(&command_line, pos);
|
||||
|
||||
// Clear history search and pager contents.
|
||||
// Clear history search.
|
||||
history_search.reset();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user