From: nicm Date: Fri, 20 Aug 2021 17:36:03 +0000 (+0000) Subject: Fill colour palette correctly from option for new panes, GitHub issue X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0f97d08fdeeeec7f238c6733233c8cabbcfcb10d;p=openbsd Fill colour palette correctly from option for new panes, GitHub issue 2831. --- diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index 69257a3ddff..a83f1302265 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.274 2021/08/13 06:52:51 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.275 2021/08/20 17:36:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -924,6 +924,8 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit) wp->pipe_fd = -1; colour_palette_init(&wp->palette); + colour_palette_from_option(&wp->palette, wp->options); + screen_init(&wp->base, sx, sy, hlimit); wp->screen = &wp->base;