Name
ClearConsole -- clear console (V10.0)
Synopsis
ClearConsole()
Platforms
Linux, macOS, Windows

Function
This function clears the console by copying the current background character set using SetConsoleBackground() to every cell of the window. 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.

Inputs
none


Show TOC