From 8d8d89573c3aa39e3b147c550e877a5721beaea4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 20 Oct 2023 13:14:25 +0530 Subject: [PATCH] ... --- kitty/window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/window.py b/kitty/window.py index a4308875c..b9de26f9c 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -1486,11 +1486,11 @@ def paste_with_actions(self, text: str) -> None: return self.paste_text(btext) - def handle_dangerous_paste_confirmation(self, btext: bytes, sanitized: str, choice: str) -> None: + def handle_dangerous_paste_confirmation(self, unsanitized: bytes, sanitized: str, choice: str) -> None: if choice == 's': self.paste_text(sanitized) elif choice == 'p': - self.paste_text(btext) + self.paste_text(unsanitized) def handle_large_paste_confirmation(self, btext: bytes, confirmed: bool) -> None: if confirmed: