mirror of
https://github.com/tmux/tmux.git
synced 2026-02-13 17:49:15 +00:00
Clear search counts when clearing marks in case of repeated search,
reported by Daniel Pereira in GitHub issue 4817.
This commit is contained in:
@@ -4271,6 +4271,9 @@ window_copy_clear_marks(struct window_mode_entry *wme)
|
||||
{
|
||||
struct window_copy_mode_data *data = wme->data;
|
||||
|
||||
data->searchcount = -1;
|
||||
data->searchmore = 0;
|
||||
|
||||
free(data->searchmark);
|
||||
data->searchmark = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user