- May
- 13,828
- 211
AFAIKT, TCC's "CLS /C" does not clear the whole consle screen buffer in Windows Terminal (as it does in Conhost). The same goes for my FCLS plugin (4CONSOLE).
This will clear the window and what Terminal calls the (scrollback) "history" (in other words, the whole buffer) and leave the new prompt at row 1.
In plugin (C) language, that's
This will clear the window and what Terminal calls the (scrollback) "history" (in other words, the whole buffer) and leave the new prompt at row 1.
Code:
echos ^e[2J^e[3J^e[H
In plugin (C) language, that's
Code:
Printf(L"\x1b[2J\x1b[3J\x1b[H");
Last edited: