Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
This command fully clears the terminal's buffer. After using it, the terminal is completely empty, no more scroll bar, no more styles. It's like the unix "reset" + complete "clear"
Along with a shortcut key, that would be sweet.
Search issues. I've already answered this question, more than a once.
Imagine, Windows would have a hotkey to Clear The Monitor. What shall it do? Fill screen with black color. And how do you think running applications and Windows would behave after that? Garbage, rubbish and more.
Want "clear"? Depends on the used shell, read help about it. cmd has cls.
First, thanks a lot for reading, for trying TeraTerm (I'm impressed that you fact-checked).
Sorry If I'm insisting but yes, after using "Reset Terminal" screen is completely blank, and yes, the prompt is not displayed anymore. But know what ? Just by pressing a single "enter" the prompt is displayed again.
Example cases :
Without such a feature, the only way to clearly separate batches of console output is by making enough «visual space» by, for ex., your aforementioned «ctrl+L» or by keeping "enter" pressed for a long time. Both methodes are not very effective at preventing "lost in scroll history" situations :-(
As a fellow developper, I hope the examples I give will ring some bells.
Obviously, using this command while in a curses-heavy interactive shell application like vim is a bad idea. But it's only a rare use case !
… (dangerous). I'm still sure that this operation is harmful and dangerous: <https://conemu.github.io/en/ClearScreen.html>. But since GuiMacro `Write` exists, anyone may create a macro for `Write("\ec")`, which the hotkey actualy executes. BTW, with `Write` macro anyone may push to console several colored lines, using ANSI sequences, to ‘mark’ some point in real-time logs (tail -f). Write "\n\n\e[91m========== '\e]9;8;\"time\"\e\\' ==========\e[m\n\n"