mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-18 01:20:17 +02:00
Simple status line.
This commit is contained in:
5
tmux.c
5
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 ||
|
||||
|
Reference in New Issue
Block a user