From e98ecc1c4f0a6a2c3369504d8f47e7e345aa3731 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 24 Sep 2022 08:34:07 +0530 Subject: [PATCH] Another auto-indent fix --- kitty/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/utils.py b/kitty/utils.py index cb866c75b..858a50be5 100644 --- a/kitty/utils.py +++ b/kitty/utils.py @@ -1089,7 +1089,7 @@ def docs_url(which: str = '', local_docs_root: Optional[str] = '') -> str: def sanitize_for_bracketed_paste(text: bytes) -> bytes: - pat = re.compile(b'(?:(?:\033\\[)|(?:\x9b))201~') + pat = re.compile(b'(?:(?:\033\\\x5b)|(?:\x9b))201~') while True: new_text = pat.sub(b'', text) if new_text == text: