Cannot display colors with watch
autra opened this issue · 3 comments
autra commented
Description
dysk never outputs color with watch -c.
I'd expect this usage to be possible with --color yes
(or force?).
steps to reproduce
- use
watch -c dysk --color yes
expected the output is colored
actual output is not colored.
additional info
Some tools behaves this way. Ex the crate dua
does output colors when executing watch -c dua
.
Canop commented
This is weird. It looks like watch
removes the color, I have no idea why.
Try this:
dysk --color yes > colored
Then you can check the output is colored with
cat colored
But if you do
watch -c cat colored
then there's no color.
autra commented
watch + dua do work though. No idea what's going on 😆
Thanks for neowatch! I didnt know this one.