aboutsummaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-23 12:48:20 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-23 12:48:20 +0000
commit9c584432d0bccdc61560e3e9deff0421f1039068 (patch)
tree684a877409f4584ef5097036f729dd6ae97e5b0c /screen.c
parent26c8303733c243b2181bb644ce6fa2b838de8e15 (diff)
downloadrtmux-9c584432d0bccdc61560e3e9deff0421f1039068.tar.gz
rtmux-9c584432d0bccdc61560e3e9deff0421f1039068.tar.bz2
rtmux-9c584432d0bccdc61560e3e9deff0421f1039068.zip
history-limit option.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index f943c442..6a6ed3d2 100644
--- a/screen.c
+++ b/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.40 2007-11-22 19:40:16 nicm Exp $ */
+/* $Id: screen.c,v 1.41 2007-11-23 12:48:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -91,7 +91,7 @@ screen_create(struct screen *s, u_int dx, u_int dy)
s->rlower = s->dy - 1;
s->hsize = 0;
- s->hlimit = SHRT_MAX;
+ s->hlimit = history_limit;
s->attr = SCREEN_DEFATTR;
s->colr = SCREEN_DEFCOLR;