This commit is contained in:
Kovid Goyal 2023-10-20 13:14:25 +05:30
parent 89ee128a92
commit 8d8d89573c
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

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