diff options
author | 2009-09-10 17:16:24 +0000 | |
---|---|---|
committer | 2009-09-10 17:16:24 +0000 | |
commit | bdbb160fec07a7cb6481322d62116a2796b3428c (patch) | |
tree | 180379e9cd670a4a467dc5bbd5be845160bbfb95 /usr.bin/tmux/server.c | |
parent | improve DESCRIPTION: note that hostname(1) can actually set the hostname, (diff) | |
download | wireguard-openbsd-bdbb160fec07a7cb6481322d62116a2796b3428c.tar.xz wireguard-openbsd-bdbb160fec07a7cb6481322d62116a2796b3428c.zip |
Permit options such as status-bg to be configured using the entire 256 colour
palette by setting "colour0" to "colour255".
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r-- | usr.bin/tmux/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c index e8ea7435cc0..f0bfcc20dbe 100644 --- a/usr.bin/tmux/server.c +++ b/usr.bin/tmux/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.32 2009/09/07 21:12:12 nicm Exp $ */ +/* $OpenBSD: server.c,v 1.33 2009/09/10 17:16:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -601,7 +601,7 @@ server_redraw_locked(struct client *c) style = options_get_number(&global_w_options, "clock-mode-style"); memcpy(&gc, &grid_default_cell, sizeof gc); - gc.fg = colour; + colour_set_fg(&gc, colour); gc.attr |= GRID_ATTR_BRIGHT; screen_init(&screen, xx, yy, 0); |