diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 19:35:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 19:35:40 +0000 |
commit | 88ab74ac20ad96771a9f06667da666bf85cd3f23 (patch) | |
tree | 830b2a2f05ef58a258eddacb00e844cef8d012fe /tmux.c | |
parent | 8253e68c794651389da5b626eff7371c4772485f (diff) | |
download | rtmux-88ab74ac20ad96771a9f06667da666bf85cd3f23.tar.gz rtmux-88ab74ac20ad96771a9f06667da666bf85cd3f23.tar.bz2 rtmux-88ab74ac20ad96771a9f06667da666bf85cd3f23.zip |
Clock mode.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |