diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-05-20 07:03:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-05-20 07:17:42 +0000 |
| commit | c4f13809430e7086fb6a0f2c80930a7537c7175d (patch) | |
| tree | 62eb949fc59ba16e4bb1f95f63103d2097cf3f13 /tests | |
| parent | themes: 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 'tests')
| -rw-r--r-- | tests/test-config.c | 3 |
1 files changed, 2 insertions, 1 deletions
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", |
