New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow clearing pane like iterm CMD-k #747
Comments
You're the man! Thanks a lot, this is exactly what I needed! Great job! :) :) 👍 |
It takes parameters so you can define your own shortcuts to clear the screen/scrollback also. Fixes kovidgoyal#747
I'd like to add a small addendum to this: The new scrollback clearing code does wipe scrollback, but then only clears the screen and moves your cursor to the upper-left corner, without redrawing the prompt. This can be combined with sending a hex 0c (ctrl-L, which will tell the os to redraw the prompt) to the terminal with this config entry:
...which makes cmd-k act as you'd expect if you're switching over from iTerm. |
|
|
|
One of my favourite features in iterm2 is the ability to completely clear the screen (and the scrollback buffer as well) with a single keystroke. No matter what's on the screen, it all gets cleared. Do you think something similar is achievable with kitty? The main thing is, doing it without having to put the current process in background to enter a shell command or send some key sequence.
The text was updated successfully, but these errors were encountered: