diff options
author | 2009-08-08 20:36:42 +0000 | |
---|---|---|
committer | 2009-08-08 20:36:42 +0000 | |
commit | f192018a2ae5d08fd5ecad7372b0e3d2f9c4eb77 (patch) | |
tree | 80b3336ca9c96611086c2e8c6253104c3215e577 /usr.bin/tmux/tmux.c | |
parent | synchronize usage displayed by mklocale with synopsis in the manual page; (diff) | |
download | wireguard-openbsd-f192018a2ae5d08fd5ecad7372b0e3d2f9c4eb77.tar.xz wireguard-openbsd-f192018a2ae5d08fd5ecad7372b0e3d2f9c4eb77.zip |
Options to set the colours and attributes for status-left/-right. From Thomas
Adam, thanks.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 0c85a59f9be..6959b4662f0 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.27 2009/08/05 16:26:38 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.28 2009/08/08 20:36:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -359,11 +359,17 @@ main(int argc, char **argv) options_set_number(&global_s_options, "status-interval", 15); options_set_number(&global_s_options, "status-keys", MODEKEY_EMACS); options_set_number(&global_s_options, "status-justify", 0); - options_set_number(&global_s_options, "status-left-length", 10); - options_set_number(&global_s_options, "status-right-length", 40); options_set_string(&global_s_options, "status-left", "[#S]"); + options_set_number(&global_s_options, "status-left-attr", 0); + options_set_number(&global_s_options, "status-left-fg", 8); + options_set_number(&global_s_options, "status-left-bg", 8); + options_set_number(&global_s_options, "status-left-length", 10); options_set_string( &global_s_options, "status-right", "\"#22T\" %%H:%%M %%d-%%b-%%y"); + options_set_number(&global_s_options, "status-right-attr", 0); + options_set_number(&global_s_options, "status-right-fg", 8); + options_set_number(&global_s_options, "status-right-bg", 8); + options_set_number(&global_s_options, "status-right-length", 40); if (flags & IDENTIFY_UTF8) options_set_number(&global_s_options, "status-utf8", 1); else |