* fhandler_console.cc (fhandler_console::send_winch_maybe): Reset scroll region
if size changes.
This commit is contained in:
parent
81632e9e55
commit
45dbfc2611
|
@ -1,3 +1,8 @@
|
||||||
|
2003-01-24 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* fhandler_console.cc (fhandler_console::send_winch_maybe): Reset
|
||||||
|
scroll region if size changes.
|
||||||
|
|
||||||
2003-01-24 Pierre Humblet <pierre.humblet@ieee.org>
|
2003-01-24 Pierre Humblet <pierre.humblet@ieee.org>
|
||||||
Jason Tishler <jason@tishler.net>
|
Jason Tishler <jason@tishler.net>
|
||||||
|
|
||||||
|
|
|
@ -215,6 +215,8 @@ fhandler_console::send_winch_maybe ()
|
||||||
if (y != dev_state->info.dwWinSize.Y || x != dev_state->info.dwWinSize.X)
|
if (y != dev_state->info.dwWinSize.Y || x != dev_state->info.dwWinSize.X)
|
||||||
{
|
{
|
||||||
extern fhandler_tty_master *tty_master;
|
extern fhandler_tty_master *tty_master;
|
||||||
|
dev_state->scroll_region.Top = 0;
|
||||||
|
dev_state->scroll_region.Bottom = -1;
|
||||||
if (tty_master)
|
if (tty_master)
|
||||||
tty_master->set_winsize (true);
|
tty_master->set_winsize (true);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue