mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -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
2
csi.c
2
csi.c
|
|
@ -1665,7 +1665,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
switch (param) {
|
||||
case 0: /* blinking block, but we use it to reset to configured default */
|
||||
term->cursor_style = term->conf->cursor.style;
|
||||
term->cursor_blink.deccsusr = term->conf->cursor.blink;
|
||||
term->cursor_blink.deccsusr = term->conf->cursor.blink.enabled;
|
||||
term_cursor_blink_update(term);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue