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

Windows cmd 2 -- add color to output on Windows #49

Merged
merged 7 commits into from Aug 12, 2015

Conversation

@MinchinWeb
Copy link
Contributor

MinchinWeb commented Aug 10, 2015

I offer this as a solution to #32. colorama is used. What colorama does is (on Windows) is take ANSI color sequences and convert them to Win32 API calls. On other platforms, it does nothing. In this case, I have also made it so colorama is only installed and called in Windows systems. In my experience, colorama is the simplest and easiest way to add cross-platform color command-line output.

This pull request builds on #48, although no changes in that pull request should be required to make this work.

Now pictures:

Before

before

After

after

bram85 added a commit that referenced this pull request Aug 12, 2015
Windows cmd 2 -- add color to output on Windows
@bram85 bram85 merged commit 2dab3db into bram85:master Aug 12, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@bram85
Copy link
Owner

bram85 commented Aug 12, 2015

Looks great, thanks a lot for your contribution!

@MinchinWeb MinchinWeb deleted the MinchinWeb:windows-cmd-2 branch Aug 12, 2015
@MinchinWeb
Copy link
Contributor Author

MinchinWeb commented Aug 12, 2015

Glad to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.