mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
This function inserts a string into the search buffer, at the current insertion point (i.e. where the cursor is).
10 lines
380 B
C
10 lines
380 B
C
#pragma once
|
|
|
|
#include <xkbcommon/xkbcommon.h>
|
|
#include "terminal.h"
|
|
|
|
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);
|