diff options
author | nicm <nicm> | 2017-01-12 00:24:28 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-12 00:24:28 +0000 |
commit | 0752fdaf6aaba298bdb7e4ba241d481c531c2b64 (patch) | |
tree | d86c089e5a3b47ea59b4e194877efc5ddb4c1ef6 | |
parent | 9e786030df1e68428fb2fdfa00a26c367ebb475c (diff) | |
download | rtmux-0752fdaf6aaba298bdb7e4ba241d481c531c2b64.tar.gz rtmux-0752fdaf6aaba298bdb7e4ba241d481c531c2b64.tar.bz2 rtmux-0752fdaf6aaba298bdb7e4ba241d481c531c2b64.zip |
Erm the aixterm colours should start at 8, not 7.
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |