aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-22 17:15:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-22 17:15:56 +0000
commit196f9d67c2049c50474c78ddeb59ebe72ac070ab (patch)
treec483594546dc56cc732b79026b67a46a83322b1e /terminal.h
parentflash: convert our own 'flash' from a CSI to an OSC (diff)
term: group 'flash' state together in a struct
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index 5ebcbd64..bf693769 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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;