mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-18 17:38:53 +02:00
Correctly clear 256-colour flag for aixterm colours.
This commit is contained in:
2
input.c
2
input.c
@@ -1481,6 +1481,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
|
|||||||
case 95:
|
case 95:
|
||||||
case 96:
|
case 96:
|
||||||
case 97:
|
case 97:
|
||||||
|
gc->flags &= ~GRID_FLAG_FG256;
|
||||||
gc->fg = m;
|
gc->fg = m;
|
||||||
break;
|
break;
|
||||||
case 100:
|
case 100:
|
||||||
@@ -1491,6 +1492,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
|
|||||||
case 105:
|
case 105:
|
||||||
case 106:
|
case 106:
|
||||||
case 107:
|
case 107:
|
||||||
|
gc->flags &= ~GRID_FLAG_BG256;
|
||||||
gc->bg = m;
|
gc->bg = m;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user