Fix regression that broke handling of single byte control chars when cursor is on second cell of wide character

This commit is contained in:
Kovid Goyal
2024-02-02 15:34:32 +05:30
parent f3830aa854
commit f64739c29b
2 changed files with 4 additions and 2 deletions

View File

@@ -614,6 +614,8 @@ class TestScreen(BaseTest):
r('a', 2, ' a')
r('😸', 3, ' 😸')
r('\u0304', 1, '😸\u0304')
r('\r', 0, '😸')
def test_serialize(self):
from kitty.window import as_text