1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-04 07:08:50 +00:00

AIX colours are always stored as 90-97, not 100-107. From Johannes

Altmanninger.
This commit is contained in:
nicm 2020-03-21 13:51:30 +00:00
parent af6ae35900
commit edca27ae45

18
grid.c
View File

@ -758,15 +758,15 @@ grid_string_cells_bg(const struct grid_cell *gc, int *values)
case 8: case 8:
values[n++] = 49; values[n++] = 49;
break; break;
case 100: case 90:
case 101: case 91:
case 102: case 92:
case 103: case 93:
case 104: case 94:
case 105: case 95:
case 106: case 96:
case 107: case 97:
values[n++] = gc->bg - 10; values[n++] = gc->bg + 10;
break; break;
} }
} }