From bfccbc67d193f91e6825e491f4cb6b466dcf255a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 1 Oct 2007 14:53:29 +0000 Subject: Simple status line. --- tmux.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tmux.c') 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 @@ -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 || -- cgit