Difference between "clear_terminal scroll" and "clear_terminal to_cursor_scroll" #7214
Unanswered
rafalglowacz
asked this question in
Q&A
Replies: 1 comment
-
to_cursor_scroll scrolls only upto the line with the cursor or the first
line of the prompt when shell integration is active and the cursor is at
a prompt. scroll, scrolls everything including the prompt. The shell
then has to redraw the prompt. Therefore, the former works usually without
co-operation from the shell, the latter does not.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for another Kitty release! I'm looking at the change log and I have a hard time understanding the new mode for
clear_terminal
calledto_cursor_scroll
. What's the difference between it and the oldscroll
mode?scroll
has been my choice ever since I learned about it so I'm wondering if the new mode is some kind of an upgrade for it. But I don't see a difference between them. I have a two line prompt and they both handle it the same way. I tried to see what'll happen when usingless
since then the cursor isn't at the top, but the behavior also seems identical. So, what's the difference? 🙂Beta Was this translation helpful? Give feedback.
All reactions