vtparse

Crates.iovtparse
lib.rsvtparse
version0.6.2
sourcesrc
created_at2019-06-30 02:15:51.561395
updated_at2022-08-02 01:32:56.264281
descriptionLow level escape sequence parser
homepage
repositoryhttps://github.com/wez/wezterm
max_upload_size
id144915
size52,459
Wez Furlong (wez)

documentation

https://docs.rs/vtparse

README

vtparse

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.

Comparison with the vte crate

vtparse 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.

Commit count: 7408

cargo fmt