GitShow/mitchellh/go-libghostty
mitchellh

go-libghostty

[Mirror] Go bindings for libghostty-vt. Source of truth: https://tangled.org/mitchellh.com/go-libghostty

by mitchellh
ghosttylibghostty
Star on GitHubForkWebsite

Go

139 stars7 forks2 contributorsActive · 1mo agoSince 2026MIT

Meet the team

See all 2 on GitHub →
mitchellh
mitchellh46 contributions
pearkes
pearkes1 contribution

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
mitchellh
add String/FromString for Key, Mods, MouseButton, FocusEventMergedPR

Add human-friendly string conversion to the input enum types so they can be serialized to and parsed from text formats like JSON or configuration files. Each type gains a String() method returning the canonical snake_case name (e.g. "key_a", "arrow_down", "shift+ctrl", "middle", "gained") and a pointer-receiver FromString method that mutates the receiver. A top-level NewKeyFromString, NewModsFromString, NewMouseButtonFromString, and NewFocusEventFromString constructor is also provided as a more ergonomic alternative.

mitchellh · 1mo ago
pearkes
Expose paste helpersMergedPR

This brings in (generated) wrappers for the paste helpers.

pearkes · 1mo ago
mitchellh
sys/png: move SysDecodePng to separate subpackageMergedPR

Fixes #6 The root libghostty package previously imported image/png for SysDecodePng. Because image/png registers itself via an init() function, the Go linker cannot eliminate it from binaries that never call SysDecodePng. Every consumer paid the cost. Move the built-in PNG decoder into sys/png so users opt in explicitly. The root package no longer imports image or image/png. The kitty_graphics_test.go file inlines a local test helper to avoid the import cycle that would result from an internal test package importing its own subpackage.

mitchellh · 2mo ago
Structured data for AI agents

Repository: mitchellh/go-libghostty. Description: [Mirror] Go bindings for libghostty-vt. Source of truth: https://tangled.org/mitchellh.com/go-libghostty Stars: 139, Forks: 7. Primary language: Go. License: MIT. Homepage: https://pkg.go.dev/go.mitchellh.com/libghostty Topics: ghostty, libghostty. Open PRs: 0, open issues: 1. Last activity: 1mo ago. Community health: 42%. Top contributors: mitchellh, pearkes.

·@ofershap

Replace github.com with gitshow.dev