Commit Graph
10 Commits
Author SHA1 Message Date
Wez Furlong b6a422a542 vtparse: allow for CSI parameters to be : separated
This allows us to support the kitty style underline sequence,
or the : separated form of the true color escape sequences.

refs: https://github.com/wez/wezterm/issues/415
2021-01-06 16:58:58 -08:00
Wez Furlong 7cf68365a5 deps: misc updates 2020-12-29 09:24:34 -08:00
Wez Furlong 78d25fc1a3 vtparse: fix doc link 2020-06-13 08:00:43 -07:00
Wez Furlong 65f94bd57b vtparse: fix DCS parsing
This corrects an issue where the mode byte of the DCS sequence was
discarded from the DcsHook, making it impossible to know what sequence
is being activated.

So far this hasn't come up as these sequences are relatively rare,
but in looking at sixel parsing I noticed the error.
2020-06-09 09:03:08 -07:00
Wez Furlong c71004993f vtparse: bump version for publish 2020-02-22 07:32:52 -08:00
Wez Furlong a42342ce0c Recognize C1 codes encoded as UTF-8
These are used in the default Fedora 31 bash profile, so it seems
worth handling even if they are a bit amgiguously defined.

Closes: https://github.com/wez/wezterm/issues/86
2019-12-28 10:33:24 -08:00
Wez Furlong 662227a725 bump vtparse version for publishing 2019-12-21 16:43:13 -08:00
Wez Furlong ed5dcd71da vtparse: document things 2019-06-29 19:13:45 -07:00
Wez Furlong 192eaeb3ff vtparse: Add utf-8 support 2019-06-29 16:15:15 -07:00
Wez Furlong 2361d88c2a initial take on a low level vt parser
This is based on the state machine described by
https://vt100.net/emu/dec_ansi_parser

and the public domain C implementation:
https://github.com/haberman/vtparse
2019-06-29 15:21:09 -07:00