ClearConsole()
ClearConsole()
will also set
the Clear
flag from the SetConsoleOptions() command to True
for the current window
to ensure that the window is cleared on the next refresh. If you don't want that, use
EraseConsole() instead. See EraseConsole for details.
You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.