term: implement reset

This commit is contained in:
Daniel Eklöf 2019-08-01 20:51:11 +02:00
parent 57564c2b59
commit ab92abbd21
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 86 additions and 2 deletions

View file

@ -341,6 +341,8 @@ struct terminal {
} render;
};
void term_reset(struct terminal *term, bool hard);
void term_damage_rows(struct terminal *term, int start, int end);
void term_damage_rows_in_view(struct terminal *term, int start, int end);