Skip wrapped lines in top level search loop because they will be
authornicm <nicm@openbsd.org>
Mon, 4 Sep 2023 08:01:43 +0000 (08:01 +0000)
committernicm <nicm@openbsd.org>
Mon, 4 Sep 2023 08:01:43 +0000 (08:01 +0000)
commit2dff8e096863afb9ba2bebbe1c3c5072868dcc3f
treef2e01525fa2a986cb5f8a5219641cf6f5f9e56d2
parent03ebfdcdb1ca729ce924154b1f3c9997872b763e
Skip wrapped lines in top level search loop because they will be
combined in the inner loop (in window_copy_search_rl_regex and the
others), avoids searching the same text multiple times. Also add a line
length limit for regex searches. GitHub issue 3675.
usr.bin/tmux/window-copy.c