From 0752fdaf6aaba298bdb7e4ba241d481c531c2b64 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 12 Jan 2017 00:24:28 +0000 Subject: [PATCH] Erm the aixterm colours should start at 8, not 7. --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window.c b/window.c index cd4af43a..454b5a45 100644 --- a/window.c +++ b/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)