diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 17:14:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 17:14:19 +0000 |
| commit | 0dd8951cb3d3b260575162ebbd1914c61a10d876 (patch) | |
| tree | e05b6e5584516e97a285780c9fec8e114a2123fc /terminal.h | |
| parent | csi: remove erronous final (diff) | |
flash: implement 'flash'
Use our own escape sequence for the 'flash' terminfo entry.
Implemented by arming a timer FD and setting a boolean that indicates
we're currently "flashing".
The renderer draws a semi-transparent yellowish layer over the entire
window when "flashing" is active.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -243,6 +243,9 @@ struct terminal { char *window_title; tll(char *) window_title_stack; + bool flash_active; + int flash_timer_fd; + struct vt vt; struct kbd kbd; |
