mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
config: add cursor.blink-rate option
The default is 500ms, which corresponds to the old, hardcoded default. Closes #1707
This commit is contained in:
parent
bc193c7be5
commit
c4f1380943
7 changed files with 37 additions and 11 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue