artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
287cddb
)
Fill colour palette correctly from option for new panes, GitHub issue
author
nicm
<nicm@openbsd.org>
Fri, 20 Aug 2021 17:36:03 +0000
(17:36 +0000)
committer
nicm
<nicm@openbsd.org>
Fri, 20 Aug 2021 17:36:03 +0000
(17:36 +0000)
2831.
usr.bin/tmux/window.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/window.c
b/usr.bin/tmux/window.c
index
69257a3
..
a83f130
100644
(file)
--- a/
usr.bin/tmux/window.c
+++ b/
usr.bin/tmux/window.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: window.c,v 1.27
4 2021/08/13 06:52:51
nicm Exp $ */
+/* $OpenBSD: window.c,v 1.27
5 2021/08/20 17:36:03
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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;