history-limit option.

This commit is contained in:
Nicholas Marriott
2007-11-23 12:48:20 +00:00
parent 26c8303733
commit 9c584432d0
5 changed files with 27 additions and 6 deletions

5
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.42 2007-11-20 12:59:27 nicm Exp $ */
/* $Id: tmux.c,v 1.43 2007-11-23 12:48:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -43,6 +43,7 @@ u_int status_lines;
u_char status_colour;
char *default_command;
int bell_action;
u_int history_limit;
void sighandler(int);
@ -214,6 +215,8 @@ main(int argc, char **argv)
bell_action = BELL_ANY;
history_limit = 2000;
if (path == NULL) {
xasprintf(&path,
"%s/%s-%lu", _PATH_TMP, __progname, (u_long) getuid());