Libghostty
Libghostty Is Coming. Mitchell Hashimoto details the roadmap for a new, interesting library: libghostty. It will be an embeddable library containing all of the power currently implemented in the Ghostty terminal emulator. The first release will be a sublibrary, libghostty-vt
, providing parsing of terminal sequences and maintenance of a terminal state.
libghostty-vt
is extracted from Ghostty and inherits all of the real world benefits: SIMD-optimized parsing, very good Unicode support, highly optimized memory usage, a robust fuzzed and Valgrind-tested codebase, excellent feature compatibility such as parsing Kitty Graphics Protocol or Tmux Control Mode, and more.
The library will be useful for anyone wanting to parse and render terminal output in any context, including websites like GitHub or GitLab.