Add non-regex search variants to avoid the performance cost for people

with large histories or long lines.
This commit is contained in:
nicm
2020-03-31 16:53:23 +00:00
parent 2ca95840d1
commit 2624edde46
3 changed files with 116 additions and 45 deletions

2
tmux.h
View File

@ -927,7 +927,9 @@ struct window_pane {
TAILQ_HEAD (, window_mode_entry) modes;
struct event modetimer;
time_t modelast;
char *searchstr;
int searchregex;
TAILQ_ENTRY(window_pane) entry;
RB_ENTRY(window_pane) tree_entry;