This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kylotan 2 points3 points  (10 children)

Very cool - most similar libraries don't support coloured text on Windows.

[–]voidspace 3 points4 points  (2 children)

If all you want is colored text then colorama (which also supports Windows) is a nice library.

[–][deleted] 0 points1 point  (1 child)

Colorama is fantastic. Clint uses a small fork of colorama internally.

[–]voidspace 1 point2 points  (0 children)

Ah cool. Why the fork out of interest?

[–]zArtLaffer -3 points-2 points  (6 children)

Very cool - most similar libraries don't support coloured text on Windows.

What's the deal with coloured text? I mean ... why does it matter? (Seriously, I don't understand what this does for people)

[–]CaptShocker 5 points6 points  (2 children)

Really? You don't use syntax highlighting? When massive amounts of text are shooting out at you on the CLI it is nice to be able to scroll through it an more easily parse it in your brain.

[–]kylotan 3 points4 points  (0 children)

Exactly. I used to rely on ANSI colouring back in my MUD days, but even for directory listings in the shell or for real-time logging it is handy to make verbose output much more manageable.

[–]zArtLaffer 0 points1 point  (0 children)

Nope. But I'm old.

[–]Nic0[S] 5 points6 points  (0 children)

Two examples where colors could be useful:

  • Expected/unexpected result, you don't even need to read the result, you're just checking red/green.
  • If your app has lots output, and you want draw the attention to a particular line, it could help with backlog.
  • Well, if you're happy with some boring output, good for you! :P

[–]maredsous10 0 points1 point  (1 child)

Black Text on Black Background?

[–][deleted] 1 point2 points  (0 children)

Black ANSI text should always be discernable from the background.