-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
'clear' does not clear the scrollback buffer #268
Comments
No, it should not. clear clears only the screen. |
To be precise clear clears the scrollback buffer only if the E3 capability is defined, which kitty does not define. |
And just for fun, surveying terminal behavior: |
kitty now supports using \E3J to clear the screen and scrollback buffer. See #268
And with this commit, 1ef0106 you can use
to clear the scrollback buffer as well as the screen, if you need to. |
kitty now supports using \E3J to clear the screen and scrollback buffer. See kovidgoyal#268
@spl it works as expected on kitty. How can I map it with |
@collegeimprovements - did you figure out how to map it to |
@collegeimprovements @OmisNomis Escape the
Edit: As mentioned in #747, this also works:
|
@nkouevda - Thanks. Unfortunately Escaping the |
So... how does one clear the scrollback (especially when looking at a running process)? |
On |
Hmm this is interesting: |
It also works for me, but when I type something and then press the up key to find the previous command that starts or includes whatever I just wrote in zsh, as I usually do, it ignores whatever I write completely. Is anybody facing this issue, and if so, how to work around it? (besides just doing a ctrl+c or typing something and running it) |
is there any way to disable scrollback buffer altogether? |
ihttps://sw.kovidgoyal.net/kitty/conf/#opt-kitty.scrollback_lines |
i didn't find anything in config for this function . need help |
This does not work for me on linux. Using kitty 0.39.1 |
shell

clear
command should clear the scrollback as well.The text was updated successfully, but these errors were encountered: