mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Incomplete resize support.
This commit is contained in:
5
screen.c
5
screen.c
@ -1,4 +1,4 @@
|
||||
/* $Id: screen.c,v 1.19 2007-10-01 14:18:42 nicm Exp $ */
|
||||
/* $Id: screen.c,v 1.20 2007-10-04 19:03:51 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -87,6 +87,9 @@ screen_resize(struct screen *s, u_int sx, u_int sy)
|
||||
s->sx = sx;
|
||||
s->sy = sy;
|
||||
|
||||
s->ry_upper = 0;
|
||||
s->ry_lower = screen_last_y(s);
|
||||
|
||||
log_debug("resizing screen (%u, %u) -> (%u, %u)", ox, oy, sx, sy);
|
||||
|
||||
if (sy < oy) {
|
||||
|
Reference in New Issue
Block a user