Cygwin: console: Remove unnecessary (redundant) code.
This commit is contained in:
parent
24b1e4b942
commit
44d8704179
|
@ -2177,7 +2177,6 @@ fhandler_console::char_command (char c)
|
||||||
if (y == con.b.srWindow.Bottom)
|
if (y == con.b.srWindow.Bottom)
|
||||||
{
|
{
|
||||||
WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
|
WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
|
||||||
wpbuf.empty ();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (y == con.b.srWindow.Top
|
if (y == con.b.srWindow.Top
|
||||||
|
@ -2222,7 +2221,6 @@ fhandler_console::char_command (char c)
|
||||||
if (y == con.b.srWindow.Bottom)
|
if (y == con.b.srWindow.Bottom)
|
||||||
{
|
{
|
||||||
WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
|
WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
|
||||||
wpbuf.empty ();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
__small_swprintf (bufw, L"\033[%d;%dr",
|
__small_swprintf (bufw, L"\033[%d;%dr",
|
||||||
|
|
Loading…
Reference in New Issue