I have a simple python script that prints text with color, using colorama package.
test.py
#!/usr/bin/env python
from colorama import Fore
text = "Test"
print(Fore.RED + text)
Problem is - when I try to put it into watch
command when connected via SSH, it doesn't show the colors.
when connected via SSH I run
watch -c test.py
And it doesn't show the colors.
I searched a lot about this issue, but watch
via SSH
won't show colors for some reason. (also when using the -c
flag).
What is the problem here?
EDIT:
Asked another question that reproduces the issue - linux - watch command not showing colors via ssh