mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
term: group 'flash' state together in a struct
This commit is contained in:
parent
61409d40e2
commit
196f9d67c2
4 changed files with 18 additions and 14 deletions
|
|
@ -243,8 +243,10 @@ struct terminal {
|
|||
char *window_title;
|
||||
tll(char *) window_title_stack;
|
||||
|
||||
bool flash_active;
|
||||
int flash_timer_fd;
|
||||
struct {
|
||||
bool active;
|
||||
int fd;
|
||||
} flash;
|
||||
|
||||
bool is_blinking;
|
||||
enum { BLINK_ON, BLINK_OFF } blink_mode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue