diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-01-07 16:01:17 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-01-07 16:01:17 +0000 |
commit | 29e64a8c648eaf6e1bebf6018066991e032756ab (patch) | |
tree | 441b101753a93a27aa82e5713bd1af4a27d4572f /window-copy.c | |
parent | a3428487a787c9ab43cd628338dcc290499891ae (diff) | |
parent | 314e933914de4096c40e623c793049d26484d53a (diff) | |
download | rtmux-29e64a8c648eaf6e1bebf6018066991e032756ab.tar.gz rtmux-29e64a8c648eaf6e1bebf6018066991e032756ab.tar.bz2 rtmux-29e64a8c648eaf6e1bebf6018066991e032756ab.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/window-copy.c b/window-copy.c index 2d19f6c6..398683e2 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1253,6 +1253,7 @@ window_copy_write_line(struct window_pane *wp, struct screen_write_ctx *ctx, size_t size = 0; style_apply(&gc, oo, "mode-style"); + gc.flags |= GRID_FLAG_NOPALETTE; if (py == 0) { size = xsnprintf(hdr, sizeof hdr, @@ -1455,6 +1456,7 @@ window_copy_update_selection(struct window_pane *wp, int may_redraw) /* Set colours and selection. */ style_apply(&gc, oo, "mode-style"); + gc.flags |= GRID_FLAG_NOPALETTE; screen_set_selection(s, sx, sy, endsx, endsy, data->rectflag, &gc); if (data->rectflag && may_redraw) { |