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 --- tests/test-config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test-config.c b/tests/test-config.c index 3d4d345c..4a0fd755 100644 --- a/tests/test-config.c +++ b/tests/test-config.c @@ -641,7 +641,8 @@ test_section_cursor(void) (const char *[]){"unchanged", "hollow", "none"}, (int []){CURSOR_UNFOCUSED_UNCHANGED, CURSOR_UNFOCUSED_HOLLOW, CURSOR_UNFOCUSED_NONE}, (int *)&conf.cursor.unfocused_style); - test_boolean(&ctx, &parse_section_cursor, "blink", &conf.cursor.blink); + test_boolean(&ctx, &parse_section_cursor, "blink", &conf.cursor.blink.enabled); + test_uint32(&ctx, &parse_section_cursor, "blink-rate", &conf.cursor.blink.rate_ms); test_pt_or_px(&ctx, &parse_section_cursor, "beam-thickness", &conf.cursor.beam_thickness); test_pt_or_px(&ctx, &parse_section_cursor, "underline-thickness", -- cgit v1.3