diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-07-22 10:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-07-22 10:01:10 +0100 |
commit | 9d9445a48e626731e9384b6b9cda367cd4cef5d3 (patch) | |
tree | 6416f97ba1bdf98a60a123526e56ed57bff8d50d | |
parent | ab1d18d00febe161080b8e81331861481110809f (diff) | |
parent | a8da24771cd7c51b531fafef0b2d51e3a7fbad1f (diff) | |
download | rtmux-9d9445a48e626731e9384b6b9cda367cd4cef5d3.tar.gz rtmux-9d9445a48e626731e9384b6b9cda367cd4cef5d3.tar.bz2 rtmux-9d9445a48e626731e9384b6b9cda367cd4cef5d3.zip |
Merge branch 'obsd-master'
-rw-r--r-- | window-copy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/window-copy.c b/window-copy.c index b955d222..ab7ed5b1 100644 --- a/window-copy.c +++ b/window-copy.c @@ -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; |