diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 05:40:35 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 05:40:35 +0000 |
commit | 811e75da52a0b504db4221df4504d3594ba3cb8b (patch) | |
tree | c68e6c59f4d3814fea41e6dae6bfb795c98ee7a7 /tmux.c | |
parent | 9e6090a7a2a0d25499bce0dc68fd67289f3a5e39 (diff) | |
download | rtmux-811e75da52a0b504db4221df4504d3594ba3cb8b.tar.gz rtmux-811e75da52a0b504db4221df4504d3594ba3cb8b.tar.bz2 rtmux-811e75da52a0b504db4221df4504d3594ba3cb8b.zip |
Status bar left and right strings (set with status-left and status-right), and automatic update (at interval set by status-interval).
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.51 2008-06-03 21:42:37 nicm Exp $ */ +/* $Id: tmux.c,v 1.52 2008-06-04 05:40:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -204,6 +204,10 @@ main(int argc, char **argv) options_set_number(&global_options, "bell-action", BELL_ANY); options_set_number(&global_options, "history-limit", 2000); options_set_number(&global_options, "prefix-key", META); + options_set_string(&global_options, "status-left", ""); + options_set_string( + &global_options, "status-right", "%%H:%%M %%d-%%b-%%y"); + options_set_number(&global_options, "status-interval", 15); paste_buffer = NULL; |