diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-22 17:17:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-22 17:17:57 +0000 |
| commit | 428b31f0713d69fe07ecde19eb103a8274a2f96a (patch) | |
| tree | d5798079ebfb08060f4067f56d35ece62b6535c2 /terminal.h | |
| parent | term: group 'flash' state together in a struct (diff) | |
term: group 'blink' state together in a struct
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -248,9 +248,11 @@ struct terminal { int fd; } flash; - bool is_blinking; - enum { BLINK_ON, BLINK_OFF } blink_mode; - int blink_timer_fd; + struct { + bool active; + enum { BLINK_ON, BLINK_OFF } state; + int fd; + } blink; struct vt vt; struct kbd kbd; |
