aboutsummaryrefslogtreecommitdiff
path: root/screen-redraw.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-07 16:01:17 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-07 16:01:17 +0000
commit29e64a8c648eaf6e1bebf6018066991e032756ab (patch)
tree441b101753a93a27aa82e5713bd1af4a27d4572f /screen-redraw.c
parenta3428487a787c9ab43cd628338dcc290499891ae (diff)
parent314e933914de4096c40e623c793049d26484d53a (diff)
downloadrtmux-29e64a8c648eaf6e1bebf6018066991e032756ab.tar.gz
rtmux-29e64a8c648eaf6e1bebf6018066991e032756ab.tar.bz2
rtmux-29e64a8c648eaf6e1bebf6018066991e032756ab.zip
Merge branch 'obsd-master'
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index 84a951dc..b7833716 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -588,6 +588,8 @@ screen_redraw_draw_number(struct client *c, struct window_pane *wp, u_int top)
gc.bg = active_colour;
else
gc.bg = colour;
+ gc.flags |= GRID_FLAG_NOPALETTE;
+
tty_attributes(tty, &gc, wp);
for (ptr = buf; *ptr != '\0'; ptr++) {
if (*ptr < '0' || *ptr > '9')
@@ -615,6 +617,8 @@ draw_text:
gc.fg = active_colour;
else
gc.fg = colour;
+ gc.flags |= GRID_FLAG_NOPALETTE;
+
tty_attributes(tty, &gc, wp);
tty_puts(tty, buf);