summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-23 17:52:54 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-23 17:52:54 +0000
commit8da0b1fb990956bc82243dc9693041286d69636a (patch)
treeaf9aca537620d2e9c1b1761e8312961f5b1e8950 /tmux.c
parent68b2d36e07455747fab5ec99dfae9895c8a043a4 (diff)
Mostly-complete copy and paste.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tmux.c b/tmux.c
index 4d411e4b..7f8a6272 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.43 2007-11-23 12:48:20 nicm Exp $ */
+/* $Id: tmux.c,v 1.44 2007-11-23 17:52:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -37,13 +37,14 @@ const char *malloc_options = "AFGJPX";
volatile sig_atomic_t sigwinch;
volatile sig_atomic_t sigterm;
+char *default_command;
+char *paste_buffer;
+int bell_action;
int debug_level;
int prefix_key = META;
-u_int status_lines;
u_char status_colour;
-char *default_command;
-int bell_action;
u_int history_limit;
+u_int status_lines;
void sighandler(int);
@@ -217,6 +218,8 @@ main(int argc, char **argv)
history_limit = 2000;
+ paste_buffer = NULL;
+
if (path == NULL) {
xasprintf(&path,
"%s/%s-%lu", _PATH_TMP, __progname, (u_long) getuid());