Enable colouring (ie via ansio) - #3
Open
JoshCheek wants to merge 1 commit into
Open
Conversation
Owner
|
Thanks for the pull request. I just checked in a major refactoring making this not a very clean merge. I'm going to let this hang out until I finish the final part of this refactoring and try to apply this after that. Otherwise you can close this and pull down development to try to fit it in yourself. If you want to do that talk to me because I think this would make changes in the new Runner system. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will enable colouring (example with and without)
It works by allowing the user (or lib such as ansio) to define
Sequence fgRedandSequence fgGreenas appropriate for their system. If these methods are not defined, it defines them such that they do nothing.The user will have to manually add the lib or methods in their test helper. If they are using ansio, that would look like
doFile(System ioPath .. "/ansio.io")