aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-12 11:19:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-12 11:19:38 +0000
commitb2935e2b89cf999d64a6322f58d6bf4307371463 (patch)
treecb14da48fd160285c90e99c9b9e83f1d1ce61a28 /terminal.h
parentdcs: abort() in bsu/esu (diff)
render: add render_{enable,disable}_refresh()
Calling render_disable_refresh() causes update requests to that terminal to be ignored. Calling render_enable_refresh() re-enables updates.
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 8e47826b..0296ff66 100644
--- a/terminal.h
+++ b/terminal.h
@@ -292,6 +292,7 @@ struct terminal {
bool refresh_needed; /* Terminal needs to be re-rendered, as soon-as-possible */
int scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */
+ bool refresh_prohibited;
/* Render threads + synchronization primitives */
struct {
size_t count;