From 428b31f0713d69fe07ecde19eb103a8274a2f96a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 22 Jul 2019 19:17:57 +0200 Subject: term: group 'blink' state together in a struct --- terminal.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index bf693769..451d7ac9 100644 --- a/terminal.h +++ b/terminal.h @@ -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; -- cgit v1.3