aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-01-12 00:19:32 +0000
committernicm <nicm>2017-01-12 00:19:32 +0000
commit9e786030df1e68428fb2fdfa00a26c367ebb475c (patch)
tree5cf30e0215d2bc9193b099b945b6296af4193911 /tmux.h
parent74c40d04eadc40c034634d70925355a0751c1433 (diff)
downloadrtmux-9e786030df1e68428fb2fdfa00a26c367ebb475c.tar.gz
rtmux-9e786030df1e68428fb2fdfa00a26c367ebb475c.tar.bz2
rtmux-9e786030df1e68428fb2fdfa00a26c367ebb475c.zip
Fix setting the palette of aixterm colours (90-97).
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 3108f81e..e63b51b7 100644
--- a/tmux.h
+++ b/tmux.h
@@ -860,11 +860,6 @@ struct window_pane {
TAILQ_HEAD(window_panes, window_pane);
RB_HEAD(window_pane_tree, window_pane);
-#define WINDOW_PANE_PALETTE_HAS(wp, c) \
- ((wp) != NULL && (wp)->palette != NULL && \
- ((c) < 0x100 || (c) & COLOUR_FLAG_256) && \
- (wp)->palette[(c) & 0xff] != 0)
-
/* Window structure. */
struct window {
u_int id;
@@ -2157,6 +2152,7 @@ void window_set_name(struct window *, const char *);
void window_remove_ref(struct window *);
void winlink_clear_flags(struct winlink *);
int winlink_shuffle_up(struct session *, struct winlink *);
+int window_pane_get_palette(const struct window_pane *, int);
/* layout.c */
u_int layout_count_cells(struct layout_cell *);