aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-06-30 15:45:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-06-30 15:45:34 +0000
commita259eda5358b4fdb788b6fcf0f8e1482a5387d77 (patch)
treea20e1b0f3b1373b51d42d4281898c9ddb5013fcc /terminal.h
parentcsi: '\E[0 q' resets the cursor style to the default, not '\E[2 q' (diff)
config: add 'blink' option to cursor section in footrc
This option controls whether the default cursor should blink or not. The default is to *not* blink.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index fc98d7cd..a9b8c5ca 100644
--- a/terminal.h
+++ b/terminal.h
@@ -296,6 +296,7 @@ struct terminal {
enum { CURSOR_BLINK_ON, CURSOR_BLINK_OFF } state;
int fd;
} cursor_blink;
+ bool default_cursor_blink;
struct {
uint32_t text;
uint32_t cursor;