mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-19 05:33:44 -04:00
term: group 'blink' state together in a struct
This commit is contained in:
parent
196f9d67c2
commit
428b31f071
3 changed files with 21 additions and 17 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue