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).
This commit is contained in:
Daniel Eklöf 2020-12-05 11:49:32 +01:00
parent 7eea6f94ed
commit f51ce34753
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 5 additions and 4 deletions

View file

@ -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);