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

Merged
merged 7 commits into from Aug 12, 2015

Conversation

2 participants
@MinchinWeb
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

Merge pull request #49 from MinchinWeb/windows-cmd-2
Windows cmd 2 -- add color to output on Windows

@bram85 bram85 merged commit 2dab3db into bram85:master Aug 12, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@bram85

This comment has been minimized.

Show comment
Hide comment
@bram85

bram85 Aug 12, 2015

Owner

Looks great, thanks a lot for your contribution!

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

This comment has been minimized.

Show comment
Hide comment
@MinchinWeb

MinchinWeb Aug 12, 2015

Contributor

Glad to help!

Contributor

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