Skip to content

Conversation

@jurij-jukic
Copy link
Contributor

eyre implements Debug which shows the ANSI escape codes. we need to use Display in order for the error to show actual colors. CommandExecutionError implements display and formats stderr and stdout nicely. I hope the custom type is okay, I didn't really find another way, except flushing the stdout and stderr directly into the terminal rather than being returned through Err.

@jurij-jukic
Copy link
Contributor Author

there seems to be some strange nondeterministic behavior with kit, i cant fully track this down yet

Copy link
Member

@nick1udwig nick1udwig left a comment

Choose a reason for hiding this comment

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

lets go!

@jurij-jukic
Copy link
Contributor Author

oh shit, it works for u, lfg!

@jurij-jukic jurij-jukic merged commit 6516892 into develop Oct 30, 2025
1 check passed
@jurij-jukic jurij-jukic deleted the j/error-color-codes branch October 30, 2025 11:36
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.

3 participants