mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
selection: track selection type; normal or block selection
This commit is contained in:
parent
1178a7763b
commit
d706e68280
5 changed files with 18 additions and 7 deletions
|
|
@ -9,7 +9,8 @@ extern const struct wl_data_device_listener data_device_listener;
|
|||
extern const struct zwp_primary_selection_device_v1_listener primary_selection_device_listener;
|
||||
|
||||
bool selection_enabled(const struct terminal *term);
|
||||
void selection_start(struct terminal *term, int col, int row);
|
||||
void selection_start(
|
||||
struct terminal *term, int col, int row, enum selection_kind kind);
|
||||
void selection_update(struct terminal *term, int col, int row);
|
||||
void selection_finalize(struct terminal *term, uint32_t serial);
|
||||
void selection_cancel(struct terminal *term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue