mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Erm the aixterm colours should start at 8, not 7.
This commit is contained in:
parent
9e786030df
commit
0752fdaf6a
2
window.c
2
window.c
@ -1530,7 +1530,7 @@ window_pane_get_palette(const struct window_pane *wp, int c)
|
||||
if (c < 8)
|
||||
new = wp->palette[c];
|
||||
else if (c >= 90 && c <= 97)
|
||||
new = wp->palette[7 + c - 90];
|
||||
new = wp->palette[8 + c - 90];
|
||||
else if (c & COLOUR_FLAG_256)
|
||||
new = wp->palette[c & ~COLOUR_FLAG_256];
|
||||
if (new == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user