diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-30 15:45:34 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-30 15:45:34 +0000 |
| commit | a259eda5358b4fdb788b6fcf0f8e1482a5387d77 (patch) | |
| tree | a20e1b0f3b1373b51d42d4281898c9ddb5013fcc /terminal.c | |
| parent | csi: '\E[0 q' resets the cursor style to the default, not '\E[2 q' (diff) | |
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.
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 3 |
1 files changed, 2 insertions, 1 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, }, |
