aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 05:40:35 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 05:40:35 +0000
commit811e75da52a0b504db4221df4504d3594ba3cb8b (patch)
treec68e6c59f4d3814fea41e6dae6bfb795c98ee7a7 /tmux.c
parent9e6090a7a2a0d25499bce0dc68fd67289f3a5e39 (diff)
downloadrtmux-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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 8a8ebcdf..6efa87cd 100644
--- a/tmux.c
+++ b/tmux.c
@@ -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;