blob: 014795f22c213772c7085c1064b72385fc40da63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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.
## Developer Notes
If contributing to either `vte` or the `utf8parse` crate and modifying a
_table.rs.in_ file, make sure to `cargo run` from the _codegen_ folder so that
the compiled tables are updated.
[Paul Williams' ANSI parser state machine]: https://vt100.net/emu/dec_ansi_parser
[docs]: https://docs.rs/crate/vte/
|