aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index 9f33d7e8..8f636c7b 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.97 2009-01-15 23:42:21 nicm Exp $ */
+/* $Id: tmux.c,v 1.98 2009-01-18 12:09:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -45,6 +45,7 @@ const char *_malloc_options = "AJX";
volatile sig_atomic_t sigwinch;
volatile sig_atomic_t sigterm;
+volatile sig_atomic_t sigcont;
char *cfg_file;
struct options global_options;
@@ -59,7 +60,6 @@ int be_quiet;
time_t start_time;
const char *socket_path;
-void sighandler(int);
__dead void usage(void);
#ifdef NO_PROGNAME
@@ -105,6 +105,9 @@ sighandler(int sig)
case SIGCHLD:
waitpid(WAIT_ANY, NULL, WNOHANG);
break;
+ case SIGCONT:
+ sigcont = 1;
+ break;
}
errno = saved_errno;
}