Save term data in a linked list and reuse it.

This commit is contained in:
Nicholas Marriott
2007-12-06 18:28:55 +00:00
parent 08d7be638e
commit 2bc8108b3e
3 changed files with 149 additions and 99 deletions

7
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.45 2007-12-06 09:46:23 nicm Exp $ */
/* $Id: tmux.c,v 1.46 2007-12-06 18:28:55 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -32,8 +32,13 @@
#include "tmux.h"
#ifdef DEBUG
#ifdef __OpenBSD__
const char *malloc_options = "AFGJPX";
#endif
#ifdef __FreeBSD__
const char *_malloc_options = "AJX";
#endif
#endif
volatile sig_atomic_t sigwinch;
volatile sig_atomic_t sigterm;