From a5b0db32197860ca6b3ed45f39e4abc354cf8ebb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 12 Apr 2024 15:09:25 +0530 Subject: [PATCH] Add a note about the remote_control scroll-window action to the docs for the default scroll actions --- kitty/window.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kitty/window.py b/kitty/window.py index 601ccad96..d02657058 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -1772,28 +1772,28 @@ class Window: def clear_selection(self) -> None: self.screen.clear_selection() - @ac('sc', 'Scroll up by one line when in main screen') + @ac('sc', 'Scroll up by one line when in main screen. To scroll by different amounts, you can map the remote_control scroll-window action.') def scroll_line_up(self) -> Optional[bool]: if self.screen.is_main_linebuf(): self.screen.scroll(SCROLL_LINE, True) return None return True - @ac('sc', 'Scroll down by one line when in main screen') + @ac('sc', 'Scroll down by one line when in main screen. To scroll by different amounts, you can map the remote_control scroll-window action.') def scroll_line_down(self) -> Optional[bool]: if self.screen.is_main_linebuf(): self.screen.scroll(SCROLL_LINE, False) return None return True - @ac('sc', 'Scroll up by one page when in main screen') + @ac('sc', 'Scroll up by one page when in main screen. To scroll by different amounts, you can map the remote_control scroll-window action.') def scroll_page_up(self) -> Optional[bool]: if self.screen.is_main_linebuf(): self.screen.scroll(SCROLL_PAGE, True) return None return True - @ac('sc', 'Scroll down by one page when in main screen') + @ac('sc', 'Scroll down by one page when in main screen. To scroll by different amounts, you can map the remote_control scroll-window action.') def scroll_page_down(self) -> Optional[bool]: if self.screen.is_main_linebuf(): self.screen.scroll(SCROLL_PAGE, False)