From 9e6090a7a2a0d25499bce0dc68fd67289f3a5e39 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 3 Jun 2008 21:42:37 +0000 Subject: Per-session configuration options. --- window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'window.c') diff --git a/window.c b/window.c index 1e270590..5ca72320 100644 --- a/window.c +++ b/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.37 2008-06-03 18:38:51 nicm Exp $ */ +/* $Id: window.c,v 1.38 2008-06-03 21:42:37 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -145,8 +145,8 @@ winlink_previous(unused struct winlinks *wwl, struct winlink *wl) } struct window * -window_create( - const char *name, const char *cmd, const char **env, u_int sx, u_int sy) +window_create(const char *name, + const char *cmd, const char **env, u_int sx, u_int sy, u_int hlimit) { struct window *w; struct winsize ws; @@ -186,7 +186,7 @@ window_create( w->in = buffer_create(BUFSIZ); w->out = buffer_create(BUFSIZ); w->mode = NULL; - screen_create(&w->base, sx, sy); + screen_create(&w->base, sx, sy, hlimit); w->screen = &w->base; input_init(w); -- cgit