aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-10 12:32:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-10 12:32:40 +0000
commit8a65d52b215dfe1288a6dfc650b0b38acbc4434f (patch)
tree16a16bdf92c3e1a66da451a533d83fe671edd1de /terminal.h
parentscrollback: fix scrolling outside initialized lines in new terminal (diff)
terminal: add term_damage_view()
This ensures everything *visible* (i.e. maybe scrolled back content) is re-rendered.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 35a1fae7..7d379229 100644
--- a/terminal.h
+++ b/terminal.h
@@ -250,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);