mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
fix vim autoindent
This commit is contained in:
@@ -562,7 +562,7 @@ class TestDataTypes(BaseTest):
|
||||
|
||||
def test_bracketed_paste_sanitizer(self):
|
||||
from kitty.utils import sanitize_for_bracketed_paste
|
||||
for x in ('\x1b[201~ab\x9b201~cd', '\x1b[201\x1b[201~~ab'):
|
||||
for x in ('\x1b[201~ab\x9b201~cd', '\x1b[201\x1b[201~~ab'): # ]]]
|
||||
q = sanitize_for_bracketed_paste(x.encode('utf-8'))
|
||||
self.assertNotIn(b'\x1b[201~', q)
|
||||
self.assertNotIn('\x9b201~'.encode('utf-8'), q)
|
||||
|
||||
Reference in New Issue
Block a user