diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -1430,6 +1430,12 @@ tsetattr(const int *attr, int l) | |||
| 1430 | case 49: | 1430 | case 49: |
| 1431 | term.c.attr.bg = defaultbg; | 1431 | term.c.attr.bg = defaultbg; |
| 1432 | break; | 1432 | break; |
| 1433 | case 58: | ||
| 1434 | /* This starts a sequence to change the color of | ||
| 1435 | * "underline" pixels. We don't support that and | ||
| 1436 | * instead eat up a following "5;n" or "2;r;g;b". */ | ||
| 1437 | tdefcolor(attr, &i, l); | ||
| 1438 | break; | ||
| 1433 | default: | 1439 | default: |
| 1434 | if (BETWEEN(attr[i], 30, 37)) { | 1440 | if (BETWEEN(attr[i], 30, 37)) { |
| 1435 | term.c.attr.fg = attr[i] - 30; | 1441 | term.c.attr.fg = attr[i] - 30; |
