API Reference

Public modules and types shipped by libvt.

libvt

Top-level re-exports, progressive-disclosure helpers, and package metadata.

libvt
libvt.terminal

Terminal, Snapshot, Formatter, FlightRecorder, render, and strip.

libvt.terminal
libvt.screen

Screen, ScreenSet, Cell, RowView, RowRun, RegionView, and Cursor.

libvt.screen
libvt.parser

Streaming VT500 Parser, CsiParams, Action records, and parse_sgr.

libvt.parser
libvt.style & libvt.modes

Style, AnsiColor, IndexedColor, RgbColor, Hyperlink, and DEC/ANSI Modes.

libvt.style
libvt.config, events, & status

Profile, Policy, Limits, closed Event union, and OSC 7501 ProgramStatus.

libvt.config
libvt.input & libvt.codec

Mode-aware KeyEvent, MouseEvent, PasteEvent, and VT sequence explain.

libvt.input
libvt.aio, testing, & pytest_plugin

AsyncTerminalStream, POSIX open_pty, assert_screen, and vt_* fixtures.

libvt.aio
libvt.graphics

Zero-dependency SIXEL and Kitty APC G ImageMeta and ImagePlacement.

libvt.graphics
libvt.tmux

decode_tmux_capture, TmuxPaneMetadata, and -CC %output unescaping.

libvt.tmux

Policy and Guarantees

Public API

What is and is not part of the public API.

Public API
Compatibility

Supported Python versions and platforms.

Compatibility
Deprecations

Active deprecations and migration guidance.

Deprecations