From 811e75da52a0b504db4221df4504d3594ba3cb8b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 4 Jun 2008 05:40:35 +0000 Subject: Status bar left and right strings (set with status-left and status-right), and automatic update (at interval set by status-interval). --- tmux.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tmux.c') 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 @@ -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; -- cgit