Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable colouring (ie via ansio) #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

JoshCheek
Copy link
Collaborator

This will enable colouring (example with and without)

example

It works by allowing the user (or lib such as ansio) to define Sequence fgRed and Sequence fgGreen as 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")

@benmills
Copy link
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.

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.

None yet

2 participants