Skip to content

Conversation

@ansu86d
Copy link

@ansu86d ansu86d commented Oct 25, 2025

Fix for #343

sub_messages.push(format!(
"{num_reprocesses} REPROCESSED on flow/logic changes or reexport"
));
segments.push((num_deletions, "-", format!("\x1B[90m(-{} removed)\x1B[0m", num_deletions)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're using the owo_colors crate to generate color codings, example:

"TODO:".color(AnsiColors::BrightBlack).bold(),
action.color(AnsiColors::BrightBlack)

We may want to use the same here.

BTW, can you also do a test by running it and redirect stdout to a file? Want to make sure the output file content make sense when the stdout isn't tty (usually in this case we shouldn't output the control characters, and I think the owo_colors crate should handle this automatically)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@georgeh0 , thanks for the comments , working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants