4
I've recently switched from using iterm in OSX to using Cygwin in ConEmu on Windows. One thing I'm really missing is the ability to completely clear the terminal buffer at any time using Alt+k. I've managed to get Alt+k to clear the buffer using a GuiMacro in ConEmu to run the command cmd /c cls
using this approach:
ConEmu: Keyboard shortcut to run "cls[ENTER]"
The problem is that because it's a command, it doesn't work when I've just kicked off a process. The same limitation applies to Ctrl+l, which clears the current window but leaves the scrollback buffer in tact. What I'm really after is a way to completely clear the scrollback buffer at any time using a keyboard shortcut. Any ideas?
I'd also be interested to a lesser degree in doing the same thing in bash on linux (as I run it in a VM) and in the regular Windows cmd.exe.
Update: This seems to be possible when using the terminal in my IDE (Intellij), on all platforms. Unfortunately other limitations of running the terminal inside my IDE mean this isn't the solution I'm looking for.
Why are you trying to run "cmd" from cygwin?? Ctrl+L clears cygwin screen. At that does not relate to ConEmu at all. – Maximus – 2015-04-06T18:12:49.420
I've had to use
cmd
to be able to clear the scrollback buffer, I haven't found another way of doing this in Cygwin alone. Or in bash in Ubuntu either, for that matter. – Conan – 2015-04-06T18:19:50.850