Files
ghostty/include
Mitchell Hashimoto dd2edd760d libvt: return safe pointers for empty output
Normalize empty buffers and borrowed strings at the libghostty-vt C
boundary to null pointers.

Zig can use sentinel addresses such as 0x1 for empty slices. Returning
these pointers to Go can cause a fatal invalid-pointer error when the
runtime relocates a goroutine's stack, even though the length is zero.
2026-09-07 20:42:28 -07:00
..