This commit is contained in:
Kovid Goyal
2022-12-30 08:34:58 +05:30
parent 0f24ce60f8
commit c76bbeabd6

View File

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