ratatui / ansi-to-tui

Convert ansi colored text to tui::text::Text
https://crates.io/crates/ansi-to-tui
MIT License
57 stars 21 forks source link

specific reset sequences are not working #50

Closed aserowy closed 1 month ago

aserowy commented 2 months ago

Heho,

im struggling with reset sequences currently. E.g. the following string 'not, \x1b[1mbold\x1b[22m, not anymore' should result in 'not, bold, not anymore' but is rendered as 'not, bold, not anymore'. Am I using ansi wrong here? I did not found any implementation details regarding this requirement in the crate.

Ty for help.

Kind regards Alexander