aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-10 12:57:26 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-10 12:57:26 +0000
commit0bc3b29b0fef9c3dc8fd1e54f56438d809e45a91 (patch)
treef2a7653f5f5e4a4ff00725609e0bfbaf095839c8 /terminal.h
parentinput: fix backspace escape sequences (diff)
parentscrollback: disable debug logging (diff)
Merge branch 'scrollback'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 6f42398a..7d379229 100644
--- a/terminal.h
+++ b/terminal.h
@@ -94,11 +94,13 @@ struct damage {
struct row {
struct cell *cells;
bool dirty;
+ bool initialized;
};
struct grid {
int num_rows;
int offset;
+ int view;
struct row **rows;
struct row *cur_row;
@@ -248,6 +250,7 @@ struct terminal {
};
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);