Use ANSI C escapes rather than python string literals

This commit is contained in:
Kovid Goyal
2022-11-25 19:10:15 +05:30
parent ac60715ee2
commit 402c8b6803
4 changed files with 8 additions and 7 deletions

View File

@@ -1547,7 +1547,7 @@ class Window:
def show_last_non_empty_command_output(self) -> None:
self.show_cmd_output(CommandOutput.last_non_empty, 'Last non-empty command output')
@ac('cp', 'Paste the specified text into the current window')
@ac('cp', 'Paste the specified text into the current window. ANSI C escapes are decoded.')
def paste(self, text: str) -> None:
self.paste_with_actions(text)