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:
Daniel Eklöf 2020-06-30 17:45:34 +02:00
parent 7f65bd1c20
commit a259eda535
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 19 additions and 2 deletions

View file

@ -296,6 +296,7 @@ struct terminal {
enum { CURSOR_BLINK_ON, CURSOR_BLINK_OFF } state;
int fd;
} cursor_blink;
bool default_cursor_blink;
struct {
uint32_t text;
uint32_t cursor;