aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-31 16:53:23 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-04-01 10:08:09 +0100
commit8dedccaa205a91a0dd57012150567403c2ac827d (patch)
tree10568cade7d592df321d9dcd3c6abb25edcf3194 /tmux.h
parente5fd85415d89ebe8b2f69c80ce6cf80fb1442fde (diff)
downloadrtmux-8dedccaa205a91a0dd57012150567403c2ac827d.tar.gz
rtmux-8dedccaa205a91a0dd57012150567403c2ac827d.tar.bz2
rtmux-8dedccaa205a91a0dd57012150567403c2ac827d.zip
Add non-regex search variants to avoid the performance cost for people
with large histories or long lines.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 222f7d43..3720beee 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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;