Something went wrong. Try again.
Go bindings for libghostty-vt. pkg.go.dev/go.mitchellh.com/libghostty
ghostty
Something went wrong. Try again.
terminal: fix checkptr failure under -race for cgo.Handle userdata master
Converting a cgo.Handle (uintptr) directly to unsafe.Pointer in NewTerminal triggered a checkptr "bad pointer value" panic when running tests with -race. The handle is an opaque integer, not a real Go pointer, so checkptr incorrectly rejects it. Extract the conversion into a small handleToPointer helper annotated with //go:nocheckptr to suppress the false positive.
Author Mitchell Hashimoto Date (Apr 22, 2026, 8:28 PM UTC) Commit fc3a9862 fc3a9862a10c67bba4ba8d02bc76f2d1c8f7ee56 Parent f71a8173 f71a8173ac94a5fcef5f3e1aa7dc45f0e7f9c3b3 Change ID vwqvpppq vwqvpppqtytwwkxnolrksqoynvmotqsw