jwalterweatherman icon indicating copy to clipboard operation
jwalterweatherman copied to clipboard

add colored output

Open stingalleman opened this issue 3 years ago • 2 comments

Adds colored output to stdout. Doesn't support file-loggers atm (you'll get this [[90mDEBUG[0m] debug.go:16: DEBUG, I don't know how to use the old prefixes when writing to a file)

Exposes a method notepad.UseColor(), UseColor() and a parameter in NewNotepad.

With colors:

Screen Shot 2021-05-04 at 23 55 41

Also exposes the colors so people can use them in their messages, if they wish. (jww.DebugColor.Println("color"))

stingalleman avatar May 04 '21 21:05 stingalleman

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 04 '21 21:05 CLAassistant

Hey @spf13, care to check out this PR?

stingalleman avatar May 28 '21 12:05 stingalleman