From e9ff48e51a9df78375ce703ff3d4df1a362ac259 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 4 May 2014 20:01:29 -0400 Subject: refactor to make alternate screens work again --- src/pty-unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pty-unix.c') diff --git a/src/pty-unix.c b/src/pty-unix.c index 3332535..38afef1 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -99,8 +99,8 @@ void runes_pty_backend_set_window_size(RunesTerm *t) { struct winsize size; - size.ws_row = t->scr.max.row; - size.ws_col = t->scr.max.col; + size.ws_row = t->scr.grid->max.row; + size.ws_col = t->scr.grid->max.col; size.ws_xpixel = t->xpixel; size.ws_ypixel = t->ypixel; ioctl(t->pty.master, TIOCSWINSZ, &size); -- cgit v1.2.3-54-g00ecf