TApxTerminalBuffer.EraseScreen

TApxTerminalBuffer

procedure EraseScreen;

Erases the entire screen.

The erasing operation is done by replacing the characters with space characters, using the current colors and attributes.

This method is not limited to the current scrolling region; it applies to the whole screen. The screen is erased by scrolling the entire scrollback view by RowCount rows. This has the effect of erasing the screen, but also saves the previous version of the screen in the scrollback area.