mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-07 17:43:53 +02:00
Fix crash when rendering a cell with a large number of combining chars
Caused by kitty now supporting larger number of combining chars per cell. Fixes #8318
This commit is contained in:
@@ -692,6 +692,9 @@ class TestScreen(BaseTest):
|
||||
t('\u25b6', 1, '\ufe0f', 2, '\ufe0e', 2)
|
||||
# wide + VS15 + VS16
|
||||
t('\U0001f610', 2, '\ufe0e', 1, '\ufe0f', 1)
|
||||
# large numbers of combining chars
|
||||
s.reset()
|
||||
s.draw("\N{HEAVY EXCLAMATION MARK SYMBOL}" + 4500 * "\N{VARIATION SELECTOR-16}")
|
||||
|
||||
def test_writing_with_cursor_on_trailer_of_wide_character(self):
|
||||
s = self.create_screen()
|
||||
|
||||
Reference in New Issue
Block a user