aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-05-20 07:03:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-05-20 07:17:42 +0000
commitc4f13809430e7086fb6a0f2c80930a7537c7175d (patch)
tree62eb949fc59ba16e4bb1f95f63103d2097cf3f13 /config.h
parentthemes: add onehalf-dark (diff)
config: add cursor.blink-rate option
The default is 500ms, which corresponds to the old, hardcoded default. Closes #1707
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.h b/config.h
index df3d45f9..e2d94507 100644
--- a/config.h
+++ b/config.h
@@ -262,7 +262,10 @@ struct config {
struct {
enum cursor_style style;
enum cursor_unfocused_style unfocused_style;
- bool blink;
+ struct {
+ bool enabled;
+ uint32_t rate_ms;
+ } blink;
struct {
uint32_t text;
uint32_t cursor;