aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-01 14:53:29 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-01 14:53:29 +0000
commitbfccbc67d193f91e6825e491f4cb6b466dcf255a (patch)
tree75cf85861a25d849306c461a4779e3ddfb2f4ec5 /tmux.c
parent872696f7819f20eb5fdaa53c16221cf614952eb7 (diff)
downloadrtmux-bfccbc67d193f91e6825e491f4cb6b466dcf255a.tar.gz
rtmux-bfccbc67d193f91e6825e491f4cb6b466dcf255a.tar.bz2
rtmux-bfccbc67d193f91e6825e491f4cb6b466dcf255a.zip
Simple status line.
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 2456b73b..9e3fbf00 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.17 2007-09-28 21:41:52 mxey Exp $ */
+/* $Id: tmux.c,v 1.18 2007-10-01 14:53:29 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -35,6 +35,7 @@ const char *malloc_options = "AFGJPX";
volatile sig_atomic_t sigwinch;
volatile sig_atomic_t sigterm;
int debug_level;
+u_int status_lines;
void sighandler(int);
@@ -183,6 +184,8 @@ main(int argc, char **argv)
log_open(stderr, LOG_USER, debug_level);
+ status_lines = 1;
+
for (i = 0; i < NOP; i++) {
op = op_table + i;
if (strncmp(argv[0], op->cmd, strlen(argv[0])) == 0 ||