diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-23 12:48:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-23 12:48:20 +0000 |
commit | 9c584432d0bccdc61560e3e9deff0421f1039068 (patch) | |
tree | 684a877409f4584ef5097036f729dd6ae97e5b0c /tmux.c | |
parent | 26c8303733c243b2181bb644ce6fa2b838de8e15 (diff) | |
download | rtmux-9c584432d0bccdc61560e3e9deff0421f1039068.tar.gz rtmux-9c584432d0bccdc61560e3e9deff0421f1039068.tar.bz2 rtmux-9c584432d0bccdc61560e3e9deff0421f1039068.zip |
history-limit option.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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()); |