diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-12 11:19:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-12 11:19:38 +0000 |
| commit | b2935e2b89cf999d64a6322f58d6bf4307371463 (patch) | |
| tree | cb14da48fd160285c90e99c9b9e83f1d1ce61a28 /render.h | |
| parent | dcs: 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 'render.h')
| -rw-r--r-- | render.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,8 @@ void render_destroy(struct renderer *renderer); void render_resize(struct terminal *term, int width, int height); void render_set_title(struct terminal *term, const char *title); void render_refresh(struct terminal *term); +void render_disable_refresh(struct terminal *term); +void render_enable_refresh(struct terminal *term); bool render_xcursor_set(struct terminal *term); void render_search_box(struct terminal *term); |
