mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-01 01:40:13 -05:00
render: add a timeout for application synchronized updates
This ensures we can recover from a crashing (or bad behaving) application that sends a BSU but then never sends an ESU.
This commit is contained in:
parent
6e474e77e5
commit
afa1dbb7cc
3 changed files with 60 additions and 8 deletions
|
|
@ -292,7 +292,11 @@ 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 application_synchronized_updates;
|
||||
struct {
|
||||
bool enabled;
|
||||
int timer_fd;
|
||||
} application_synchronized_updates;
|
||||
|
||||
/* Render threads + synchronization primitives */
|
||||
struct {
|
||||
size_t count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue