Such as cls for cmd.exe. It's very annoy if I can't do this.
CLS (Clear Screen)
Clear Terminal via Ctrl+L / Ctrl+Shift+K Shortcut An alternative in some terminal emulators is Ctrl + Shift + K . The command provides the same output as Ctrl + L .
Method 1: Clear screen in Python using cls You can simply “cls” to clear the screen in windows.
print! ("\x1B[2J\x1B[1;1H"); This will clear the screen and put the cursor at first row & first col of the screen. Save this answer.
A common way to do that is to use the `clear` command, or its keyboard shortcut CTRL+L.
You can use Ctrl+L keyboard shortcut in Linux to clear the screen.
You can use screen:clear-window
to do this:
(screen:with-window (screen:clear-window screen:*window*))
For more information see the documentation on screen. Also note that these functions are specific to clisp.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With