From 7b4e39053b10cf3a0b7166f2028699f7240f53d9 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 25 Sep 2001 23:33:37 +0000 Subject: [PATCH] update local info about the screen size --- libs/console/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/console/server.c b/libs/console/server.c index fae799489..4b9faa62f 100644 --- a/libs/console/server.c +++ b/libs/console/server.c @@ -239,6 +239,8 @@ C_ProcessInput (void) if (ioctl (fileno (stdout), TIOCGWINSZ, &size) == 0) { resizeterm (size.ws_row, size.ws_col); wrefresh (curscr); + getmaxyx (stdscr, screen_y, screen_x); + con_linewidth = screen_x; } }