term: modify term_fill() to optionally reset the SGR attributes

This commit is contained in:
Daniel Eklöf 2021-12-26 16:05:18 +01:00
parent 189cfd717f
commit b3a84ba71b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 10 additions and 4 deletions

View file

@ -798,7 +798,8 @@ void term_cursor_down(struct terminal *term, int count);
void term_cursor_blink_update(struct terminal *term);
void term_print(struct terminal *term, char32_t wc, int width);
void term_fill(struct terminal *term, int row, int col, char c, size_t count);
void term_fill(struct terminal *term, int row, int col, char c, size_t count,
bool use_sgr_attrs);
void term_scroll(struct terminal *term, int rows);
void term_scroll_reverse(struct terminal *term, int rows);