aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-01-29 16:50:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-01-29 16:50:56 +0000
commit94f0b7283a4fba57788c753380afe1fc752351de (patch)
tree2f5d0ffd8d04057d6012ce924402863f3df02460 /terminal.h
parentMerge branch 'xcursor-size' (diff)
parentchangelog: search for last searched-for string (diff)
Merge branch 'search-last-query'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index e6c82f41..1ff4b3b6 100644
--- a/terminal.h
+++ b/terminal.h
@@ -514,6 +514,11 @@ struct terminal {
bool view_followed_offset;
struct coord match;
size_t match_len;
+
+ struct {
+ wchar_t *buf;
+ size_t len;
+ } last;
} search;
struct wayland *wl;