mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 13:45:26 +02:00
Also filter 8-bit control sequences when sanitizing
This commit is contained in:
@@ -289,7 +289,7 @@ class Window:
|
||||
if isinstance(text, str):
|
||||
text = text.encode('utf-8')
|
||||
if self.screen.in_bracketed_paste_mode:
|
||||
text = text.replace(b'\033[201~', b'')
|
||||
text = text.replace(b'\033[201~', b'').replace(b'\x9b201~', b'')
|
||||
self.screen.paste(text)
|
||||
|
||||
def copy_to_clipboard(self):
|
||||
|
||||
Reference in New Issue
Block a user