Something went wrong. Try again.
Go bindings for libghostty-vt. pkg.go.dev/go.mitchellh.com/libghostty
ghostty
Something went wrong. Try again.
render: add reusable cell style snapshot master
Add RenderCellStyle plus StyleInto and ResolvedStyleInto for row-cell rendering. The new API lets callers reuse one destination value while reading resolved foreground, background, has-styling, and common text style flags. Previously renderers had to call Style, FgColor, BgColor, and HasStyling separately. That allocated Go wrapper values and crossed cgo multiple times per styled cell. The new binding-side helper batches the existing libghostty queries into one cgo transition and treats absent foreground or background colors as nil fields instead of errors.
Author Mitchell Hashimoto Date (May 28, 2026, 4:56 AM UTC) Commit e2f7f6c3 e2f7f6c3c87db61556d5052ad25094570bb1249e Parent da44e060 da44e060c39090f8e66c43a2c72f59ab29d7c9aa Change ID xunqppys xunqppyszlvrvzvxwsuwyykkvokwnmws