Name
EraseConsole -- erase console (V10.0)
Synopsis
EraseConsole()
Library
console

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. In contrast to ClearConsole() EraseConsole() won't set the Clear flag from the SetConsoleOptions() command to True for the current window. If you want that, use ClearConsole() instead. See ClearConsole for details.

You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.

Inputs
none


Show TOC