From c4f13809430e7086fb6a0f2c80930a7537c7175d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 20 May 2024 09:03:29 +0200 Subject: config: add cursor.blink-rate option The default is 500ms, which corresponds to the old, hardcoded default. Closes #1707 --- config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.h') 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; -- cgit v1.3