]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: console: Remove unnecessary (redundant) code.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Sat, 5 Feb 2022 07:52:33 +0000 (16:52 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Sat, 5 Feb 2022 07:55:12 +0000 (16:55 +0900)
winsup/cygwin/fhandler_console.cc

index fa5d7ce9c350766fad7c01c8218d754e5c7bba9d..7a1a45bc15e5a2bc8c69ec07bf270896db5f05d9 100644 (file)
@@ -2177,7 +2177,6 @@ fhandler_console::char_command (char c)
              if (y == con.b.srWindow.Bottom)
                {
                  WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
-                 wpbuf.empty ();
                  break;
                }
              if (y == con.b.srWindow.Top
@@ -2222,7 +2221,6 @@ fhandler_console::char_command (char c)
              if (y == con.b.srWindow.Bottom)
                {
                  WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
-                 wpbuf.empty ();
                  break;
                }
              __small_swprintf (bufw, L"\033[%d;%dr",
This page took 0.039041 seconds and 5 git commands to generate.