Add the status line capabilities to terminfo
This commit is contained in:
parent
ae3f555f51
commit
2be49e7f66
@ -28,12 +28,12 @@ bool_capabilities = {
|
|||||||
'npc',
|
'npc',
|
||||||
# eat_newline_glitch (newline ignored after 80 columns)
|
# eat_newline_glitch (newline ignored after 80 columns)
|
||||||
'xenl',
|
'xenl',
|
||||||
|
# has extra status line (window title)
|
||||||
|
'hs',
|
||||||
|
|
||||||
# The following are entries from termite's terminfo that we dont need
|
# The following are entries from termite's terminfo that we dont need
|
||||||
# # background color erase
|
# # background color erase
|
||||||
# 'bce',
|
# 'bce',
|
||||||
# # has extra status line
|
|
||||||
# 'hs',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
termcap_aliases.update({
|
termcap_aliases.update({
|
||||||
@ -45,6 +45,7 @@ termcap_aliases.update({
|
|||||||
'ms': 'msgr',
|
'ms': 'msgr',
|
||||||
'NP': 'npc',
|
'NP': 'npc',
|
||||||
'xn': 'xenl',
|
'xn': 'xenl',
|
||||||
|
'hs': 'hs',
|
||||||
})
|
})
|
||||||
|
|
||||||
numeric_capabilities = {
|
numeric_capabilities = {
|
||||||
@ -224,6 +225,12 @@ string_capabilities = {
|
|||||||
'smul': r'\E[4m',
|
'smul': r'\E[4m',
|
||||||
# Clear all tab stops
|
# Clear all tab stops
|
||||||
'tbc': r'\E[3g',
|
'tbc': r'\E[3g',
|
||||||
|
# To status line (used to set window titles)
|
||||||
|
'tsl': r'\E]2;',
|
||||||
|
# From status line (end window title string)
|
||||||
|
'fsl': r'^G',
|
||||||
|
# Disable status line (clear window title)
|
||||||
|
'dsl': r'\E]2;\007',
|
||||||
# Move to specified line
|
# Move to specified line
|
||||||
'vpa': r'\E[%i%p1%dd',
|
'vpa': r'\E[%i%p1%dd',
|
||||||
# Enter italics mode
|
# Enter italics mode
|
||||||
@ -368,10 +375,12 @@ termcap_aliases.update({
|
|||||||
'K3': 'ka3',
|
'K3': 'ka3',
|
||||||
'K4': 'kc1',
|
'K4': 'kc1',
|
||||||
'K5': 'kc3',
|
'K5': 'kc3',
|
||||||
|
'ts': 'tsl',
|
||||||
|
'fs': 'fsl',
|
||||||
|
'ds': 'dsl',
|
||||||
|
|
||||||
|
|
||||||
# 'ut': 'bce',
|
# 'ut': 'bce',
|
||||||
# 'hs': 'hs',
|
|
||||||
# 'ds': 'dsl',
|
# 'ds': 'dsl',
|
||||||
# 'fs': 'fsl',
|
# 'fs': 'fsl',
|
||||||
# 'mk': 'invis',
|
# 'mk': 'invis',
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
xterm-kitty|KovIdTTY,
|
xterm-kitty|KovIdTTY,
|
||||||
am,
|
am,
|
||||||
ccc,
|
ccc,
|
||||||
|
hs,
|
||||||
km,
|
km,
|
||||||
mc5i,
|
mc5i,
|
||||||
mir,
|
mir,
|
||||||
@ -36,11 +37,13 @@ xterm-kitty|KovIdTTY,
|
|||||||
dim=\E[2m,
|
dim=\E[2m,
|
||||||
dl=\E[%p1%dM,
|
dl=\E[%p1%dM,
|
||||||
dl1=\E[M,
|
dl1=\E[M,
|
||||||
|
dsl=\E]2;\007,
|
||||||
ech=\E[%p1%dX,
|
ech=\E[%p1%dX,
|
||||||
ed=\E[J,
|
ed=\E[J,
|
||||||
el=\E[K,
|
el=\E[K,
|
||||||
el1=\E[1K,
|
el1=\E[1K,
|
||||||
flash=\E[?5h$<100/>\E[?5l,
|
flash=\E[?5h$<100/>\E[?5l,
|
||||||
|
fsl=^G,
|
||||||
home=\E[H,
|
home=\E[H,
|
||||||
hpa=\E[%i%p1%dG,
|
hpa=\E[%i%p1%dG,
|
||||||
ht=^I,
|
ht=^I,
|
||||||
@ -114,4 +117,5 @@ xterm-kitty|KovIdTTY,
|
|||||||
smso=\E[7m,
|
smso=\E[7m,
|
||||||
smul=\E[4m,
|
smul=\E[4m,
|
||||||
tbc=\E[3g,
|
tbc=\E[3g,
|
||||||
|
tsl=\E]2;,
|
||||||
vpa=\E[%i%p1%dd,
|
vpa=\E[%i%p1%dd,
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user