]> sourceware.org Git - newlib-cygwin.git/commitdiff
* select.cc (peek_console): Always check window size when there is ANY keyboard
authorChristopher Faylor <me@cgf.cx>
Tue, 1 Sep 2009 14:25:10 +0000 (14:25 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 1 Sep 2009 14:25:10 +0000 (14:25 +0000)
activity.

winsup/cygwin/ChangeLog
winsup/cygwin/select.cc

index faa4c8215c6b440c276aabcffc2b3730b8cdb443..6a090c0ac2b759064b906c514f9e47e86f35bcf0 100644 (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.
index 6e46c4ed1e9a03cfbb41f9a3b5315e11c2de84ab..cb58445c92b6e53341ba108ef8ee215db983922b 100644 (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
This page took 0.035927 seconds and 5 git commands to generate.