mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
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.
This commit is contained in:
parent
5ef55a7f52
commit
b2935e2b89
3 changed files with 27 additions and 0 deletions
2
render.h
2
render.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue