mirror of
https://github.com/tmux/tmux.git
synced 2024-12-12 17:38:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
9d9445a48e
@ -3612,6 +3612,8 @@ window_copy_search(struct window_mode_entry *wme, int direction, int regex)
|
||||
data->searchall = 0;
|
||||
} else
|
||||
visible_only = (strcmp(wp->searchstr, str) == 0);
|
||||
if (visible_only == 0 && data->searchmark != NULL)
|
||||
window_copy_clear_marks(wme);
|
||||
free(wp->searchstr);
|
||||
wp->searchstr = xstrdup(str);
|
||||
wp->searchregex = regex;
|
||||
|
Loading…
Reference in New Issue
Block a user