mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Clarify actions to clear_terminal to_cursor
This commit is contained in:
@@ -1189,7 +1189,7 @@ class Boss:
|
||||
map f1 clear_terminal scrollback active
|
||||
# Scroll the contents of the screen into the scrollback
|
||||
map f1 clear_terminal scroll active
|
||||
# Clear everything up to the line with the cursor or the start of the current prompt (needs shell integration)
|
||||
# Clear everything on screen up to the line with the cursor or the start of the current prompt (needs shell integration)
|
||||
# Useful for clearing the screen up to the shell prompt and moving the shell prompt to the top of the screen.
|
||||
map f1 clear_terminal to_cursor active
|
||||
# Same as above except cleared lines are moved into scrollback
|
||||
|
||||
@@ -4155,7 +4155,7 @@ You can create shortcuts to clear/reset the terminal. For example::
|
||||
map f1 clear_terminal scrollback active
|
||||
# Scroll the contents of the screen into the scrollback
|
||||
map f1 clear_terminal scroll active
|
||||
# Clear everything up to the line with the cursor or the start of the current prompt (needs shell integration)
|
||||
# Clear everything on screen up to the line with the cursor or the start of the current prompt (needs shell integration)
|
||||
map f1 clear_terminal to_cursor active
|
||||
# Same as above except cleared lines are moved into scrollback
|
||||
map f1 clear_terminal to_cursor_scroll active
|
||||
|
||||
Reference in New Issue
Block a user