Skip to content

Enable colouring (ie via ansio) - #3

Open
JoshCheek wants to merge 1 commit into
masterfrom
ansio-integration
Open

Enable colouring (ie via ansio)#3
JoshCheek wants to merge 1 commit into
masterfrom
ansio-integration

Conversation

@JoshCheek

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants