e36freak / meat

30 stars 7 forks source link

Make meat more resistant to cower color settings #8

Closed SanskritFritz closed 12 years ago

SanskritFritz commented 12 years ago

This commit forces cower --color=never in certain cases where the output is parsed by meat.

e36freak commented 12 years ago

This is a good idea, but I want to keep the color for -v output if -c is used for meat, as well. When -b is used, cower never colors the parts that are important for parsing, only the information afterwards. I'll force --color=never when meat's color is off, in the "${cower[@]}" array, instead of hardcoding it there.

e36freak commented 12 years ago

That said, the coproc one does seem to need to be hardcoded. Thanks again for catching that

SanskritFritz commented 12 years ago

Perfect, thanks.