Closed spinicist closed 7 months ago
It's actually a little worse than I thought - the graphics remain but with a higher z-order than text:
If I repeatedly spam text and hit Cmd+K
the graphics do gradually move towards the screen and eventually off it.
Just do a regular clear command not sure why you are using cmd-K. IIRC cmd-K is mapped to clear to line with cursor only.
Cmd+K
is clear screen in Terminal.app, I tried it through muscle memory.
By "regular clear" do you mean "Reset Terminal" as listed here: https://sw.kovidgoyal.net/kitty/overview/#other-keyboard-shortcuts? Or did I miss something else? That shortcut full clears the screen without giving a prompt like Cmd+K
.
Type clear at the prompt and press enter
Not going to lie, I completely forgot that existed. Thanks.
Describe the bug
Use
kitten icat
to draw graphics in the terminal. Generate some text with whatever program you like. HitCmd+K
. The text is cleared, the cursor returns to the top of the screen, but the graphics remain in place.I expected graphics to be cleared as well - should I not have expected this? Is there a different shortcut to clear graphics? I couldn't see anything in the
icat
documentation.(PS Thanks for making KiTTY, it's great and a route to really improving my workflow in various ways)
Screenshots
Here is a screenshot after hitting
Cmd+K
.Environment details