mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Per-session configuration options.
This commit is contained in:
6
screen.c
6
screen.c
@ -1,4 +1,4 @@
|
||||
/* $Id: screen.c,v 1.59 2008-01-03 21:32:11 nicm Exp $ */
|
||||
/* $Id: screen.c,v 1.60 2008-06-03 21:42:37 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -128,7 +128,7 @@ screen_stringcolour(const char *s)
|
||||
|
||||
/* Create a new screen. */
|
||||
void
|
||||
screen_create(struct screen *s, u_int dx, u_int dy)
|
||||
screen_create(struct screen *s, u_int dx, u_int dy, u_int hlimit)
|
||||
{
|
||||
s->dx = dx;
|
||||
s->dy = dy;
|
||||
@ -139,7 +139,7 @@ screen_create(struct screen *s, u_int dx, u_int dy)
|
||||
s->rlower = s->dy - 1;
|
||||
|
||||
s->hsize = 0;
|
||||
s->hlimit = history_limit;
|
||||
s->hlimit = hlimit;
|
||||
|
||||
s->attr = SCREEN_DEFATTR;
|
||||
s->colr = SCREEN_DEFCOLR;
|
||||
|
Reference in New Issue
Block a user