terminfo: Fix "cnorm" the property for setting the cursor to normal using a solid block rather than a blinking block cursor

cnorm should match the default cursor in kitty, which is a blinking
block. Fixes #3906
This commit is contained in:
Kovid Goyal 2021-08-07 15:15:59 +05:30
parent d01ac17334
commit 3287798efe
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
4 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
an English locale does not exist, set :envvar:`LANG` to ``en_US.UTF-8``
(:iss:`3899`)
- terminfo: Fix "cnorm" the property for setting the cursor to normal using a
solid block rather than a blinking block cursor (:iss:`3906`)
0.22.2 [2021-08-02]
----------------------

View File

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

View File

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

Binary file not shown.