| Crates.io | vtparse |
| lib.rs | vtparse |
| version | 0.7.0 |
| created_at | 2019-06-30 02:15:51.561395+00 |
| updated_at | 2025-04-19 14:38:47.090243+00 |
| description | Low level escape sequence parser |
| homepage | |
| repository | https://github.com/wezterm/wezterm |
| max_upload_size | |
| id | 144915 |
| size | 67,185 |
This is an implementation of a parser for escape and control sequences. It is based on the DEC ANSI Parser.
It has been modified slightly to support UTF-8 sequences.
vtparse is the lowest level parser; it categorizes the basic
types of sequences but does not ascribe any semantic meaning
to them.
You may wish to look at termwiz::escape::parser::Parser in the
termwiz crate if you're looking for semantic
parsing.
vte cratevtparse has support for dynamically sized OSC buffers, which makes
it suitable for processing large escape sequences, such as those
used by the iTerm2 image protocol.