When I press Ctrl-L, the screen clears, but not completely, more like scrolling down to a clear space and keeping all the output above the screen fold, so when I scroll up, I see all the output I had before.
Is it possible to clear the console output completely?
I need it because when I run some program with long log output, it's hard to track where previous output ends and current one begins, so I would like to clear the console completely before running the program.
Thanks!
What shell are you using? The cmd.exe built-in cls will do what you want.
@glucas I am having an issue with cls, it leaves spacing issues, you'll also notice that now global env vars aren't highlighted as they use to be example git status etc
Use GuiMacro (Keys & Macro page)
print("\ecls\n")
"\e" emulates Esc express, "\n" emulates Enter.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contribution.
This issue has been automatically closed due to it not having any activity since it was marked as stale. Thank you for your contribution.
Most helpful comment
Use GuiMacro (Keys & Macro page)
print("\ecls\n")"\e" emulates Esc express, "\n" emulates Enter.
Source: http://superuser.com/a/623833/351521