diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-22 18:19:27 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-22 18:19:27 +0000 |
| commit | 49034bb759edc0d137783844213677d6db074dcb (patch) | |
| tree | 28ac64ff9876166eb0984e2fc2a9bf895b704375 /main.c | |
| parent | conf: make cursor's default style configurable (diff) | |
csi: let CSI 0 q mean "switch to user configured cursor style"
According to the specs, \E[0 q means a blinking block cursor. However,
since it also states that \E[1 q *also* is a blinking block cursor,
and that it is the default, *and* given that fact that parameter-less
CSIs typically means "reset", let's make it mean "reset to the user
configured cursor style".
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -371,6 +371,7 @@ main(int argc, char *const *argv) conf.colors.bright[7], }, }, + .default_cursor_style = conf.cursor.style, .cursor_style = conf.cursor.style, .selection = { .start = {-1, -1}, |
