From 37b6677608a00eb353426e34adcaca4ab6d129b8 Mon Sep 17 00:00:00 2001 From: pagedown Date: Wed, 17 Nov 2021 22:34:45 +0800 Subject: [PATCH] ... --- kitty/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/window.py b/kitty/window.py index a36b32166..f9ccb81ed 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -1096,7 +1096,7 @@ class Window: cursor_on_screen = self.screen.scrolled_by < self.screen.lines - self.screen.cursor.y get_boss().display_scrollback(self, data['text'], data['input_line_number'], report_cursor=cursor_on_screen) - def show_cmd_output(self, which: CommandOutput, title: str = 'Command ouptut', as_ansi: bool = True, add_wrap_markers: bool = True) -> None: + def show_cmd_output(self, which: CommandOutput, title: str = 'Command output', as_ansi: bool = True, add_wrap_markers: bool = True) -> None: text = self.cmd_output(which, as_ansi=as_ansi, add_wrap_markers=add_wrap_markers) text = text.replace('\r\n', '\n').replace('\r', '\n') get_boss().display_scrollback(self, text, title=title, report_cursor=False)