mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
Change the history so that when you go forwards, it no longer highlights
This commit is contained in:
@@ -385,6 +385,12 @@ void history_search_t::go_to_end(void) {
|
||||
prev_matches.clear();
|
||||
}
|
||||
|
||||
/** Returns if we are at the end, which is where we start. */
|
||||
bool history_search_t::is_at_end(void) const {
|
||||
return prev_matches.empty();
|
||||
}
|
||||
|
||||
|
||||
/** Goes to the beginning (backwards) */
|
||||
void history_search_t::go_to_beginning(void) {
|
||||
/* Just go backwards as far as we can */
|
||||
|
||||
Reference in New Issue
Block a user