Files
ghostty/src
Mitchell Hashimoto aab00da242 terminal: fix crash when reflowing grapheme with a spacer head
Fixes #7536

When we're reflowing a row and we need to insert a spacer head, we must
move to the next row to insert it. Previously, we were setting a spacer
head and then copying data into that spacer head, which could lead to
corrupt data and an eventual crash.

In debug builds this triggers assertion failures but in release builds
this would lead to silent corruption and a crash later on.

The unit test shows the issue clearly but effectively you need a
multi-codepoint grapheme such as `👨‍👨‍👦‍👦` to wrap across a row by changing
the columns.
2025-06-06 20:37:12 -07:00
..
2025-05-21 10:20:09 -07:00
2025-05-30 22:43:07 +02:00
2025-05-27 07:17:45 -07:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-01-18 22:47:18 +09:00
2025-05-21 10:20:09 -07:00
2025-05-26 21:50:14 -06:00
2024-09-26 22:00:11 -07:00
2025-03-11 14:39:04 -07:00
2024-10-18 08:11:11 -07:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-03-11 14:53:30 -07:00
2025-03-07 13:42:00 -08:00
2025-05-21 10:20:09 -07:00
2024-08-16 14:35:10 -07:00
2022-08-18 11:42:32 -07:00
2025-03-12 16:29:17 -07:00
2025-03-12 11:29:13 -07:00
2025-05-09 10:01:05 -07:00
2024-08-16 10:36:10 -07:00