mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 22:44:50 +02:00
Add roundtrip and cursor positioning tests for all three zero width chars
This commit is contained in:
@@ -127,6 +127,12 @@ class TestScreen(BaseTest):
|
||||
s.draw(q)
|
||||
self.ae(q, str(s.line(0)))
|
||||
self.ae(s.cursor.x, 8)
|
||||
for x in '\u200b\u200c\u200d':
|
||||
s = self.create_screen()
|
||||
q = f'X{x}Y'
|
||||
s.draw(q)
|
||||
self.ae(q, str(s.line(0)))
|
||||
self.ae(s.cursor.x, 2)
|
||||
|
||||
def test_char_manipulation(self):
|
||||
s = self.create_screen()
|
||||
|
||||
Reference in New Issue
Block a user