aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-10 19:35:40 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-10 19:35:40 +0000
commit88ab74ac20ad96771a9f06667da666bf85cd3f23 (patch)
tree830b2a2f05ef58a258eddacb00e844cef8d012fe /tmux.c
parent8253e68c794651389da5b626eff7371c4772485f (diff)
downloadrtmux-88ab74ac20ad96771a9f06667da666bf85cd3f23.tar.gz
rtmux-88ab74ac20ad96771a9f06667da666bf85cd3f23.tar.bz2
rtmux-88ab74ac20ad96771a9f06667da666bf85cd3f23.zip
Clock mode.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 02016d57..ada0bb4a 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.89 2009-01-10 14:43:43 nicm Exp $ */
+/* $Id: tmux.c,v 1.90 2009-01-10 19:35:40 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -248,6 +248,8 @@ main(int argc, char **argv)
options_set_number(&global_window_options, "mode-keys", MODEKEY_EMACS);
options_set_number(&global_window_options, "force-width", 0);
options_set_number(&global_window_options, "force-height", 0);
+ options_set_number(&global_window_options, "clock-mode-colour", 4);
+ options_set_number(&global_window_options, "clock-mode-style", 1);
if (cfg_file == NULL) {
home = getenv("HOME");
@@ -301,6 +303,7 @@ main(int argc, char **argv)
}
options_set_string(
&global_options, "default-command", "exec %s", shell);
+
if (argc == 0) {
cmd = xmalloc(sizeof *cmd);