When I use Hyper (with ZSH), there are two ways to clear the terminal: typing clear
(which scrolls down to the last line, but don't clear the rest) and doing Cmd+K
(which is linked to "Clear Buffer" and do clear the rest).
So, as far as I know, I should be able to write something like alias cls="command to execute Cmd+K"
and clear the console the way I want to.
Which is that command? Or is there something like clear
I don't know about?