mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 07:58:55 +00:00
Make SGR 6 (rapid blink) the same as SGR 5 (blink) and make SGR 21 to
the same as SGR 4:2, it is an old alternative. GitHub issue 2567.
This commit is contained in:
parent
6642706f7b
commit
d768fc2553
5
input.c
5
input.c
@ -2101,6 +2101,7 @@ input_csi_dispatch_sgr(struct input_ctx *ictx)
|
|||||||
gc->attr |= GRID_ATTR_UNDERSCORE;
|
gc->attr |= GRID_ATTR_UNDERSCORE;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
case 6:
|
||||||
gc->attr |= GRID_ATTR_BLINK;
|
gc->attr |= GRID_ATTR_BLINK;
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
@ -2112,6 +2113,10 @@ input_csi_dispatch_sgr(struct input_ctx *ictx)
|
|||||||
case 9:
|
case 9:
|
||||||
gc->attr |= GRID_ATTR_STRIKETHROUGH;
|
gc->attr |= GRID_ATTR_STRIKETHROUGH;
|
||||||
break;
|
break;
|
||||||
|
case 21:
|
||||||
|
gc->attr &= ~GRID_ATTR_ALL_UNDERSCORE;
|
||||||
|
gc->attr |= GRID_ATTR_UNDERSCORE_2;
|
||||||
|
break;
|
||||||
case 22:
|
case 22:
|
||||||
gc->attr &= ~(GRID_ATTR_BRIGHT|GRID_ATTR_DIM);
|
gc->attr &= ~(GRID_ATTR_BRIGHT|GRID_ATTR_DIM);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user