From c76bbeabd6cb9e645f7a28011b091de15b3f26fb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 30 Dec 2022 08:34:58 +0530 Subject: [PATCH] ... --- kitty/window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitty/window.py b/kitty/window.py index aeed3e503..e07517160 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -1574,7 +1574,8 @@ class Window: @ac('sc', 'Scroll prompt to the bottom of the screen, filling in extra lines from the scrollback buffer') def scroll_prompt_to_bottom(self) -> None: - self.screen.scroll_prompt_to_bottom() + if self.screen.is_main_linebuf(): + self.screen.scroll_prompt_to_bottom() @ac('mk', 'Toggle the current marker on/off') def toggle_marker(self, ftype: str, spec: Union[str, Tuple[Tuple[int, str], ...]], flags: int) -> None: