From 35c608ae776c769926a788b2dd50500a4005f693 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Aug 2021 07:09:35 +0530 Subject: [PATCH] Dont add wrap markers (\r) when showing last command output --- kitty/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/window.py b/kitty/window.py index 4eb7bbf55..ee52df377 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -980,7 +980,7 @@ class Window: Requires :ref:`shell_integration` to work ''') def show_last_command_output(self) -> None: - text = self.last_cmd_output(as_ansi=True, add_wrap_markers=True) + text = self.last_cmd_output(as_ansi=True, add_wrap_markers=False) get_boss().display_scrollback(self, text, title='Last command output') def paste_bytes(self, text: Union[str, bytes]) -> None: