Closed la1den closed 2 weeks ago
The docs dont say it deletes the scrollback, the everything there means everything on the screen. That should probably be clarified.
If you wan to clear oth the best way to do so is create an alias in your shell rc files, as described in: https://sw.kovidgoyal.net/kitty/conf/#shortcut-kitty.Reset-the-terminal
Describe the bug I've set the shortcut map ctrl+k clear_terminal to_cursor active, according to the documentation it's supposed to delete the scrollback, but when I scroll up with the mouse wheel, I can still see the historical output, behaving the same as to_cursor_scroll.
To Reproduce Steps to reproduce the behavior:
map ctrl+k clear_terminal to_cursor active
fc-list
command.ctrl+k
Screenshots
Environment details
Additional context
clear_terminal to_cursor active
behaves the same as to_cursor_scroll when there are many output lines, but behaves normally with few outputs.