selection: add a selection API

This commit is contained in:
Daniel Eklöf 2019-07-11 09:51:51 +02:00
parent 1c861e5d69
commit bcf763d417
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 117 additions and 30 deletions

View file

@ -244,8 +244,12 @@ struct terminal {
struct wl_callback *frame_callback;
};
void term_damage_rows(struct terminal *term, int start, int end);
void term_damage_rows_in_view(struct terminal *term, int start, int end);
void term_damage_all(struct terminal *term);
void term_damage_view(struct terminal *term);
void term_damage_scroll(
struct terminal *term, enum damage_type damage_type,
struct scroll_region region, int lines);