mirror of
https://github.com/tmux/tmux.git
synced 2025-03-30 19:48:48 +00:00
Oops, mustn't forget this.
This commit is contained in:
parent
ceab127fac
commit
f53b917367
6
screen.c
6
screen.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: screen.c,v 1.25 2007-11-20 21:42:29 nicm Exp $ */
|
/* $Id: screen.c,v 1.26 2007-11-20 21:45:26 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -128,10 +128,12 @@ screen_resize(struct screen *s, u_int sx, u_int sy)
|
|||||||
|
|
||||||
s->dx = sx;
|
s->dx = sx;
|
||||||
s->dy = sy;
|
s->dy = sy;
|
||||||
|
|
||||||
s->rupper = 0;
|
s->rupper = 0;
|
||||||
s->rlower = s->dy - 1;
|
s->rlower = s->dy - 1;
|
||||||
|
|
||||||
|
s->ysize = dy;
|
||||||
|
|
||||||
if (sy < oy) {
|
if (sy < oy) {
|
||||||
ny = oy - sy;
|
ny = oy - sy;
|
||||||
if (ny > s->cy)
|
if (ny > s->cy)
|
||||||
|
Loading…
Reference in New Issue
Block a user