library

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: Apache-2.0, MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func Find() (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL