diff --git a/kitty/boss.py b/kitty/boss.py index ace891547..8e410f2a0 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1189,7 +1189,7 @@ def on_window_resize(self, os_window_id: int, w: int, h: int, dpi_changed: bool) 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 diff --git a/kitty/options/definition.py b/kitty/options/definition.py index f93f31f77..8428f07cd 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -4155,7 +4155,7 @@ 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