Dont add wrap markers (\r) when showing last command output

This commit is contained in:
Kovid Goyal
2021-08-05 07:09:35 +05:30
parent 8d8095a2d1
commit 35c608ae77

View File

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