https://github.com/alacritty/vte
Parser for virtual terminal emulators
https://github.com/alacritty/vte
parser rust terminal vte
Last synced: 8 months ago
JSON representation
Parser for virtual terminal emulators
- Host: GitHub
- URL: https://github.com/alacritty/vte
- Owner: alacritty
- License: apache-2.0
- Created: 2016-09-12T17:50:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T19:34:09.000Z (10 months ago)
- Last Synced: 2025-05-14T02:11:33.041Z (8 months ago)
- Topics: parser, rust, terminal, vte
- Language: Rust
- Homepage: https://docs.rs/vte/
- Size: 223 KB
- Stars: 267
- Watchers: 12
- Forks: 66
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
vte
===
[](https://travis-ci.org/alacritty/vte)
[](https://crates.io/crates/vte/)
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.
[Paul Williams' ANSI parser state machine]: https://vt100.net/emu/dec_ansi_parser
[docs]: https://docs.rs/crate/vte/