From 49034bb759edc0d137783844213677d6db074dcb Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 22 Jul 2019 20:19:27 +0200 Subject: 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". --- main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main.c') diff --git a/main.c b/main.c index f725c9e5..917eec9d 100644 --- a/main.c +++ b/main.c @@ -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}, -- cgit v1.3