Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
new feature: clear screen #234
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.
added a commit
Feb 19, 2016
referenced this issue
Mar 26, 2016
@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.