mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04: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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue