Add support for the strikethrough attribute (SGR 9), using the new smxx

terminfo capability. This means there are now nine attribute bits, so
anything above 0xff uses an extended cell.
This commit is contained in:
nicm
2017-03-22 07:16:54 +00:00
parent 04e17a7e11
commit df3ab87964
8 changed files with 29 additions and 13 deletions

View File

@ -249,6 +249,7 @@ static const struct tty_term_code_entry tty_term_codes[] = {
[TTYC_SMKX] = { TTYCODE_STRING, "smkx" },
[TTYC_SMSO] = { TTYCODE_STRING, "smso" },
[TTYC_SMUL] = { TTYCODE_STRING, "smul" },
[TTYC_SMXX] = { TTYCODE_STRING, "smxx" },
[TTYC_SS] = { TTYCODE_STRING, "Ss" },
[TTYC_TC] = { TTYCODE_FLAG, "Tc" },
[TTYC_TSL] = { TTYCODE_STRING, "tsl" },