Commit Graph

22 Commits

Author SHA1 Message Date
Lucas Schwiderski
27beb4bc1f Update to nom@7 2023-11-07 16:46:25 +01:00
Maxim Zhiburt
92658d5486 Fix cargo fmt 2022-01-31 19:12:01 +03:00
David Bittner
b1c780152e resolved conflicts 2020-10-05 14:43:45 -04:00
Dániel Buga
dcac225384 Escaping the escape character 2020-10-05 15:01:04 +02:00
Dániel Buga
abce537ffe Change parse_escape to return an AnsiSequence 2020-10-05 12:19:37 +02:00
Dániel Buga
2925f56c1f no_std
Add `std` default feature
Only implement for String if `std` is enabled
Replace std Vec with heapless
2020-10-05 11:56:07 +02:00
Dániel Buga
71a582b31f Clean up deprecated and clippy warnings 2020-10-05 11:00:07 +02:00
David Bittner
4a09914aa0 Merge branch 'truecolor_escape_support' into 'master'
Add support for parsing 5-part SetGraphicsMode escape (TrueColor)

See merge request davidbittner/ansi-parser!1
2020-09-11 17:36:34 +00:00
mulark
fb1dd49c52 Default cursor position handling 2020-09-10 22:00:41 -06:00
Leon Kowarschick
b7c414559c Add support for parsing 5-part SetGraphicsMode escape (TrueColor) 2020-06-27 18:28:34 +02:00
David Bittner
9520aeafbf missed the empty graphics mode sequence 2019-05-10 10:26:25 -04:00
David Bittner
0eac7e3ab5 added more parsers, almost have all of the escape sequences 2019-05-10 10:12:49 -04:00
David Bittner
d9872e03e6 added ansi_parse trait so things are more ergonomic 2019-05-06 17:01:17 -04:00
David Bittner
38a5f31e47 adding a lot more sequences 2019-05-06 16:18:46 -04:00
David Bittner
8c1408cefe adding new sequences from the VT100 list 2019-05-04 11:24:58 -04:00
David Bittner
a8d429d223 added high cursor and show cursor 2019-05-02 23:46:46 -04:00
David Bittner
b1c17325f7 properly handles unknown ansi escapes by adding them as plain text 2019-05-02 23:04:41 -04:00
David Bittner
0b7e534ae4 fixed issues with SetGraphicsMode sequence 2019-05-02 19:33:21 -04:00
David Bittner
b9ca804814 used wrong escape code, whoops... 2019-04-27 17:07:57 -04:00
David Bittner
29eb11a1e1 adding docs, updating Cargo.toml 2019-04-26 22:12:39 -04:00
David Bittner
3ef51ec9e0 done, kinda hacky solution but it works 2019-04-26 20:01:34 -04:00
David Bittner
c2b8f5ed57 it all works, just need to figure out how to deal with the end of the stream 2019-04-26 17:58:27 -04:00