aboutsummaryrefslogtreecommitdiff
path: root/search.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-05 10:49:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-07 19:44:12 +0000
commitf51ce347532d0c0c0169ba6e1d32a09b13481ed4 (patch)
tree72441de7a30d34a70f0a888b54eecbc2a7255709 /search.h
parentime: don’t commit to the slave while scrollback searching (diff)
search: new function: search_add_chars()
This function inserts a string into the search buffer, at the current insertion point (i.e. where the cursor is).
Diffstat (limited to 'search.h')
-rw-r--r--search.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/search.h b/search.h
index 178b6140..ece0d68a 100644
--- a/search.h
+++ b/search.h
@@ -7,3 +7,4 @@ void search_begin(struct terminal *term);
void search_cancel(struct terminal *term);
void search_input(struct seat *seat, struct terminal *term, uint32_t key,
xkb_keysym_t sym, xkb_mod_mask_t mods, uint32_t serial);
+void search_add_chars(struct terminal *term, const char *text, size_t len);