The system function ConsoleLib.clearWindow removes all displayed material from the specified window. This includes erasing the constant information displayed in the current form. If the window has a border, the border is not erased. The statement does not affect the ordering of the window stack or affect any windows that are above it in the window stack.
ConsoleLib.clearWindow(window1 Window inOut)
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library ConsoleLib