mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Allow three combining chars per cell
Makes use of otherwise wasted padding in the CPUCell struct
This commit is contained in:
@@ -182,9 +182,11 @@ class TestDataTypes(BaseTest):
|
||||
l0.add_combining_char(0, '\U000e0100')
|
||||
self.ae(l0[0], ' \u0300\U000e0100')
|
||||
l0.add_combining_char(0, '\u0302')
|
||||
self.ae(l0[0], ' \u0300\u0302')
|
||||
self.ae(l0[0], ' \u0300\U000e0100\u0302')
|
||||
l0.add_combining_char(0, '\u0301')
|
||||
self.ae(l0[0], ' \u0300\U000e0100\u0301')
|
||||
self.ae(l0[1], '\0')
|
||||
self.ae(str(l0), ' \u0300\u0302')
|
||||
self.ae(str(l0), ' \u0300\U000e0100\u0301')
|
||||
t = 'Testing with simple text'
|
||||
lb = LineBuf(2, len(t))
|
||||
l0 = lb.line(0)
|
||||
|
||||
Reference in New Issue
Block a user