Fix ambiguous width and private use characters not being rendered when used with variable width text-sizing protocol escape codes

This commit is contained in:
Kovid Goyal
2025-05-12 05:21:51 +05:30
parent 7791a9129c
commit 68b4c3dd6d
3 changed files with 12 additions and 2 deletions

View File

@@ -135,6 +135,9 @@ def test_multicell(self: TestMulticell) -> None:
for x in range(1, 3):
comb(x, y)
comb(0, 1)
s.reset()
multicell(s, 'aüa', scale=2)
self.ae(s.cursor.x, 6)
s = self.create_screen(cols=7 * 7, lines=7)
multicell(s, 'a', scale=7, width=7)
for y in range(s.lines):