#terminal #vte #state

macro vte_generate_state_changes

Proc macro for generating VTE state changes

4 releases

0.2.0 Jan 9, 2025
0.1.2 Jun 8, 2024
0.1.1 Jan 12, 2020
0.1.0 Dec 10, 2019

#11 in #vte

Download history 162691/week @ 2024-12-17 86899/week @ 2024-12-24 105389/week @ 2024-12-31 169866/week @ 2025-01-07 148580/week @ 2025-01-14 132494/week @ 2025-01-21 124260/week @ 2025-01-28 156471/week @ 2025-02-04 210054/week @ 2025-02-11 265451/week @ 2025-02-18 256108/week @ 2025-02-25 274851/week @ 2025-03-04 157876/week @ 2025-03-11 253502/week @ 2025-03-18 124261/week @ 2025-03-25 152814/week @ 2025-04-01

725,608 downloads per month
Used in 528 crates (via anstyle-parse)

Apache-2.0 OR MIT

7KB
102 lines

vte

Build Status Crates.io Version

Parser for implementing virtual terminal emulators in Rust.

The parser is implemented according to Paul Williams' ANSI parser state machine. The state machine doesn't assign meaning to the parsed data and is thus not itself sufficient for writing a terminal emulator. Instead, it is expected that an implementation of the Perform trait which does something useful with the parsed data. The Parser handles the book keeping, and the Perform gets to simply handle actions.

See the docs for more info.

Dependencies

~75KB