![]() |
libghostty
|
libghostty-vt is a C library which implements a modern terminal emulator, extracted from the Ghostty terminal emulator.
libghostty-vt contains the logic for handling the core parts of a terminal emulator: parsing terminal escape sequences, maintaining terminal state, encoding input events, etc. It can handle scrollback, line wrapping, reflow on resize, and more.
The API is organized into the following groups:
Complete working examples: