Overview of Rio terminal engine layers
Rio's terminal engine is split into two embeddable layers for developers who need a terminal engine without the full application wrapper:
- rio-vt: A safe Rust crate providing the VT state machine, ANSI/escape parser, grid with scrollback, selection, search, PTY driver, and image protocols (Sixel, Kitty, iTerm2). It contains no rendering, GPU, or font-shaping logic.
- librio: A C ABI wrapper around the same core, allowing integration with languages like Swift, C, Go, and Python via a prebuilt static library without requiring a Rust toolchain.