diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-12 00:24:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-12 00:24:29 +0000 |
commit | cffb20febef79bc622b9ad56e99ad146d9db418b (patch) | |
tree | 3cd5664276910dd7a898af28984c78e87e31d3d6 /usr.bin/tmux | |
parent | cd22049551fbe5c7971834224718db85ded3c513 (diff) |
Erm the aixterm colours should start at 8, not 7.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index 53cefa34eba..83bca0a8526 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.178 2017/01/12 00:19:32 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.179 2017/01/12 00:24:28 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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) |