Add strikethrough capabilities to terminfo
The termcap aliases are not standard, but they are used by Vim, it seems. As far as I can tell, there are no standard termcap attribute for strikethrough.
This commit is contained in:
parent
e271719dd2
commit
a61d70ea9a
@ -198,6 +198,8 @@ string_capabilities = {
|
|||||||
'rmso': r'\E[27m',
|
'rmso': r'\E[27m',
|
||||||
# Exit underline mode
|
# Exit underline mode
|
||||||
'rmul': r'\E[24m',
|
'rmul': r'\E[24m',
|
||||||
|
# Exit strikethrough mode
|
||||||
|
'rmxx': r'\E[29m',
|
||||||
# Reset string1 (empty OSC sequence to exit OSC/OTH modes, and regular reset)
|
# Reset string1 (empty OSC sequence to exit OSC/OTH modes, and regular reset)
|
||||||
'rs1': r'\E]\E\\\Ec',
|
'rs1': r'\E]\E\\\Ec',
|
||||||
# Save cursor
|
# Save cursor
|
||||||
@ -224,6 +226,8 @@ string_capabilities = {
|
|||||||
'smso': r'\E[7m',
|
'smso': r'\E[7m',
|
||||||
# Enter underline mode
|
# Enter underline mode
|
||||||
'smul': r'\E[4m',
|
'smul': r'\E[4m',
|
||||||
|
# Enter strikethrough mode
|
||||||
|
'smxx': r'\E[9m',
|
||||||
# Clear all tab stops
|
# Clear all tab stops
|
||||||
'tbc': r'\E[3g',
|
'tbc': r'\E[3g',
|
||||||
# To status line (used to set window titles)
|
# To status line (used to set window titles)
|
||||||
@ -351,6 +355,7 @@ termcap_aliases.update({
|
|||||||
'ei': 'rmir',
|
'ei': 'rmir',
|
||||||
'se': 'rmso',
|
'se': 'rmso',
|
||||||
'ue': 'rmul',
|
'ue': 'rmul',
|
||||||
|
'Te': 'rmxx',
|
||||||
'r1': 'rs1',
|
'r1': 'rs1',
|
||||||
'sc': 'sc',
|
'sc': 'sc',
|
||||||
'AB': 'setab',
|
'AB': 'setab',
|
||||||
@ -363,6 +368,7 @@ termcap_aliases.update({
|
|||||||
'im': 'smir',
|
'im': 'smir',
|
||||||
'so': 'smso',
|
'so': 'smso',
|
||||||
'us': 'smul',
|
'us': 'smul',
|
||||||
|
'Ts': 'smxx',
|
||||||
'ct': 'tbc',
|
'ct': 'tbc',
|
||||||
'cv': 'vpa',
|
'cv': 'vpa',
|
||||||
'ZH': 'sitm',
|
'ZH': 'sitm',
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user