aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-26 15:05:18 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-07 15:24:33 +0000
commitb3a84ba71b021b484e0ddc023480eb6d9f885991 (patch)
tree2ff872a85042dbe0215c2f9befc6429db9ce5c5b /terminal.h
parentterm: replace term_put_char() with term_fill() (diff)
term: modify term_fill() to optionally reset the SGR attributes
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index f56ffdb0..c8a43c64 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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);