diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-12 11:40:42 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-12 11:40:42 +0000 |
| commit | afa1dbb7cc98277d8ee22e4bc5a2b3ee2c774662 (patch) | |
| tree | 09b8b63c7e8f7a2ddbf63c8475e7571873dd63c8 /terminal.h | |
| parent | render: rename render_{enable,disable}_refresh() (diff) | |
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.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 6 |
1 files changed, 5 insertions, 1 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; |
