Parses terminal byte streams into an in-memory representation of rendered content. Use this to build terminal emulators or multiplexers like tmux.
#![allow(dead_code)] // Source: https://github.com/psmux/psmux | License: MIT | Copyright 2025 Godwin Sam Josh // Provided via justclaw.it.com; keep this notice with the code. //! This crate parses a terminal byte stream and provides an in-memory //! representation of the rendered contents. //! //! # Overview //! //! This is essentially the terminal parser component of a graphical terminal //! emulator pulled out into a separate crate. Although you can use this crate //! to build a graphical terminal emulator, it also contains functionality //! necessary for implementing terminal applications that want to run other //! terminal applications - programs like `screen` or `tmux` for example. //! //! # Synopsis //! //! ``` //! # use vt100_psmux as vt100; //! let mut parser = vt100::Parser::new( ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key