Basically two choices, use
However, neither of them are adequate methods.
BTW, have you mentioned how mintty "clears" the screen nowadays? It do the scroll-down just to be sure that printed lines come out of visible area.
Even that method is "improper" because Windows' console applications may write to the whole buffer, but not only visible part of it.
… (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"
@Maximus5 Actually I find it a useful feature as well for the following reason.
Often I run a command and expect some outcome I want to check at some point, such as a debugging statement or the output of some application and obviously I can simply let the screen roll all output. But if there's a lot of output, I need to scroll a lot and sometimes it is so much even scrolling a little bit is difficult.
There all all kinds of solutions to this, like playing around with
That shortcut for resetting, scrolling back and setting cursor topleft works perfectly to this end. I don't think it was a mistake to add that feature. Thanks for that.