libghostty-vt 0.0.0
Loading...
Searching...
No Matches
API Reference
Here is a list of all topics with brief descriptions:
[detail level 12]
 TerminalThe terminal itself
 TerminalCreate a terminal, write VT data to it, and read its state
 EffectsRespond to what programs ask of the terminal, such as the bell, title changes, and queries
 ModesPack DEC and ANSI mode numbers and encode DECRPM reports
 SnapshotsSave a terminal's full state and restore it later
 Screen ContentsRead what is on the screen
 Cells and RowsRead the contents of grid cells and rows
 PointsName a grid position in the active area, viewport, screen, or history
 Grid ReferencesPoint at a cell, read it, and keep track of it as the terminal scrolls
 StyleRead a cell's colors and text attributes
 SelectionSelect words, lines, and ranges, and turn pointer gestures into selections
 SearchFind a string in a terminal, including its scrollback
 FormatterTurn terminal content into plain text, VT sequences, or HTML
 RenderingDraw a terminal
 Render StateFind out what changed since the last frame and read the rows and cells to draw
 Kitty GraphicsRead the images that programs send with the Kitty graphics protocol
 InputTurn user input into bytes for the pty
 KeysEncode key events with the legacy encoding or the Kitty keyboard protocol
 MouseEncode mouse events with the X10, UTF-8, SGR, URxvt, or SGR-Pixels protocols
 FocusEncode focus gained and lost events, for mode 1004
 PastePaste into a terminal, and check paste data for unsafe content
 Building BlocksParsers and encoders that work without a terminal
 OSC ParserParse OSC sequences into commands
 SGR ParserParse SGR sequences into text attributes
 Size ReportsEncode size reports, for mode 2048 and XTWINOPS queries
 Color Scheme ReportsEncode the reply to a color scheme query (CSI ? 996 n)
 ColorsParse colors, generate palettes, and look up X11 color names
 UnicodeMeasure codepoints and graphemes the way the terminal does
 LibraryTypes and settings shared by every API
 Core TypesThe result codes, strings, and buffers that every API uses
 VersionCheck which version of libghostty-vt you are using
 Build InfoFind out how this copy of the library was built and which features it has
 AllocatorsRun the library on your own memory allocator
 Readers and WritersStream bytes in and out through your own callbacks
 System InterfacePlug in your own system functions, such as a PNG decoder
 WebAssemblyAllocate memory and pass pointers from a WebAssembly host