Clarify actions to clear_terminal to_cursor

This commit is contained in:
Kovid Goyal
2024-04-28 10:01:51 +05:30
parent c1199c2ca1
commit cc5e4e95d3
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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