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". --- foot.info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'foot.info') diff --git a/foot.info b/foot.info index 4388df77..241238dc 100644 --- a/foot.info +++ b/foot.info @@ -237,7 +237,7 @@ foot+base|foot base fragment, vpa=\E[%i%p1%dd, E3=\E[3J, Ms=\E]52;%p1%s;%p2%s\007, - Se=\E[2 q, + Se=\E[0 q, Ss=\E[%p1%d q, # XM tells ncurses how to initialize the mouse. The xterm terminfo -- cgit v1.3