Merge branch 'bawr/terminfo-u6789' of https://github.com/bawr/kitty

This commit is contained in:
Kovid Goyal 2020-12-29 10:02:17 +05:30
commit 7155400eb5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -262,6 +262,15 @@ string_capabilities = {
# Set RGB background color (non-standard used by neovim) # Set RGB background color (non-standard used by neovim)
'setrgbb': r'\E[48:2:%p1%d:%p2%d:%p3%dm', 'setrgbb': r'\E[48:2:%p1%d:%p2%d:%p3%dm',
# The following entries are for compatibility with xterm,
# and shell scripts using e.g. `tput u7` to emit a CPR escape
# See https://invisible-island.net/ncurses/terminfo.src.html
# and INTERPRETATION OF USER CAPABILITIES
'u6': r'\E[%i%d;%dR',
'u7': r'\E[6n',
'u8': r'\E[?%[;0123456789]c',
'u9': r'\E[c',
# The following are entries that we don't use # The following are entries that we don't use
# # turn on blank mode, (characters invisible) # # turn on blank mode, (characters invisible)
# 'invis': r'\E[8m', # 'invis': r'\E[8m',
@ -401,6 +410,10 @@ termcap_aliases.update({
'fs': 'fsl', 'fs': 'fsl',
'ds': 'dsl', 'ds': 'dsl',
'u6': 'u6',
'u7': 'u7',
'u8': 'u8',
'u9': 'u9',
# 'ut': 'bce', # 'ut': 'bce',
# 'ds': 'dsl', # 'ds': 'dsl',