greglook / whidbey

nREPL middleware to pretty-print colored values
The Unlicense
158 stars 10 forks source link

Allow colors to be disabled via :puget-options #9

Closed gfredericks closed 10 years ago

gfredericks commented 10 years ago

Fixes issue #8.

This wasn't possible because whidbey hard-coded a call to cprint-str rather than using pprint-str with a default option of {:print-color true}.

gfredericks commented 10 years ago

Originally referenced the wrong issue (not sure how I pulled that off), and force-pushed to correct it.

greglook commented 10 years ago

Looks good to me! Thanks for patching this, it's exactly what I had in mind. I'll test it out locally and release a new version of whidbey later.