1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 05:12:40 +03:00
wezterm/vtparse
2024-05-04 22:47:57 -07:00
..
src Ensure order of omitted parameters is retained 2024-01-08 18:22:30 -07:00
Cargo.toml [PATCH] Fix various cargo audit errors 2024-05-04 22:47:57 -07:00
LICENSE.md Add missing license files 2022-08-17 07:19:12 -07:00
README.md vtparse: document things 2019-06-29 19:13:45 -07:00

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.