aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-11 07:51:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-11 15:38:01 +0000
commitbcf763d41776705ad62972e766d73fd9533bbb9e (patch)
tree55e146eed65d0666a9fb1b3d47da49ed4c61df3a /terminal.h
parentselection: only left button can be used for selection (diff)
selection: add a selection API
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 1e56567f..8b080ad9 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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);