Documentation
¶
Overview ¶
Package library finds libghostty-vt for the terminal: the file $NSGO_GHOSTTY_VT names, the one the nsgo tool put into the app, or on desktops the build for the platform the package embeds, written once into the user's cache. Android's package places its build beside libnsgo.so.
The builds in lib/ come from Ghostty's sources at the commit the terminal binds, built by `go run ./tools/libghostty`. The nsgo tool signs them into iOS and tvOS apps as GhosttyVT.framework and into macOS apps' Frameworks, stages it beside Windows and Linux executables, and supplies an iOS or tvOS host's companion GhosttyVT.xcframework.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Find ¶
Find returns the libghostty-vt to load, the first of:
- the file $NSGO_GHOSTTY_VT names;
- the one in the app: an iOS app's GhosttyVT.framework, a macOS app's Frameworks, or beside the executable;
- on desktops, the build this package embeds for the platform, written once into the user's cache (<cache>/nsgo/libghostty-vt/<sha256>/).
Types ¶
This section is empty.