Apparently nvim assumes cnorm doesn't affect cursor shape. It's
ambiguous whether cnorm should affect it or not. So to prevent
regressions in case other programs assume that as well, have it only
make the cursor visible and blinking, without changing its shape.
This commit is contained in:
Kovid Goyal 2021-08-13 09:31:18 +05:30
parent 9c4a890688
commit 473e1a6f22
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ string_capabilities = {
# Clear screen # Clear screen
'clear': r'\E[H\E[2J', 'clear': r'\E[H\E[2J',
# Make cursor appear normal # Make cursor appear normal
'cnorm': r'\E[1 q\E[?25h', 'cnorm': r'\E[?12h\E[?25h',
# Carriage return # Carriage return
'cr': r'^M', # CR (carriage return \r) 'cr': r'^M', # CR (carriage return \r)
# Change scroll region # Change scroll region

View File

@ -24,7 +24,7 @@ xterm-kitty|KovIdTTY,
cbt=\E[Z, cbt=\E[Z,
civis=\E[?25l, civis=\E[?25l,
clear=\E[H\E[2J, clear=\E[H\E[2J,
cnorm=\E[1 q\E[?25h, cnorm=\E[?12h\E[?25h,
cr=^M, cr=^M,
csr=\E[%i%p1%d;%p2%dr, csr=\E[%i%p1%d;%p2%dr,
cub=\E[%p1%dD, cub=\E[%p1%dD,

Binary file not shown.