terminal: add term_damage_view()

This ensures everything *visible* (i.e. maybe scrolled back content)
is re-rendered.
This commit is contained in:
Daniel Eklöf 2019-07-10 14:32:40 +02:00
parent d8d4b34362
commit 8a65d52b21
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 8 additions and 0 deletions

View file

@ -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);