mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Mostly-complete copy and paste.
This commit is contained in:
11
tmux.c
11
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());
|
||||
|
Reference in New Issue
Block a user