mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
config: add 'blink' option to cursor section in footrc
This option controls whether the default cursor should blink or not. The default is to *not* blink.
This commit is contained in:
parent
7f65bd1c20
commit
a259eda535
7 changed files with 19 additions and 2 deletions
|
|
@ -844,10 +844,11 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
|
|||
.alpha = conf->colors.alpha,
|
||||
},
|
||||
.origin = ORIGIN_ABSOLUTE,
|
||||
.default_cursor_blink = conf->cursor.blink,
|
||||
.default_cursor_style = conf->cursor.style,
|
||||
.cursor_style = conf->cursor.style,
|
||||
.cursor_blink = {
|
||||
.active = false,
|
||||
.active = conf->cursor.blink,
|
||||
.state = CURSOR_BLINK_ON,
|
||||
.fd = cursor_blink_fd,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue