Colorize log output #97

Merged
lucas merged 5 commits from feat/color-log into master 2023-04-05 16:27:29 +02:00
Showing only changes of commit c7ec318e83 - Show all commits

View file

@ -22,9 +22,6 @@ pub fn ansi_to_rich_text(input: &str) -> RichText {
for token in input.ansi_parse() { for token in input.ansi_parse() {
match token { match token {
Output::TextBlock(text) => { Output::TextBlock(text) => {
dbg!(&state);
dbg!(&text);
let mut attr = builder.push(text); let mut attr = builder.push(text);
attr.underline(state.underline); attr.underline(state.underline);
attr.strikethrough(state.strikethrough); attr.strikethrough(state.strikethrough);