* select.cc (peek_console): Always check window size when there is ANY keyboard

activity.
This commit is contained in:
Christopher Faylor 2009-09-01 14:25:10 +00:00
parent 1cd39cb9b3
commit d984eb88db
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-01 Christopher Faylor <me+cygwin@cgf.cx>
* select.cc (peek_console): Always check window size when there is ANY
keyboard activity.
2009-08-26 Corinna Vinschen <corinna@vinschen.de>
* path.h (INTERIX_SYMLINK_COOKIE): Define.

View File

@ -812,6 +812,7 @@ peek_console (select_record *me, bool)
break;
else
{
fh->send_winch_maybe ();
if (irec.EventType == KEY_EVENT)
{
if (irec.Event.KeyEvent.bKeyDown
@ -821,7 +822,6 @@ peek_console (select_record *me, bool)
}
else
{
fh->send_winch_maybe ();
if (irec.EventType == MOUSE_EVENT
&& fh->mouse_aware ()
&& (irec.Event.MouseEvent.dwEventFlags == 0