Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdv doesn't output color codes when stdout is not a terminal #73

Open
bool3max opened this issue Jan 13, 2019 · 0 comments
Open

mdv doesn't output color codes when stdout is not a terminal #73

bool3max opened this issue Jan 13, 2019 · 0 comments

Comments

@bool3max
Copy link

bool3max commented Jan 13, 2019

Running latest mdv on latest stable python3.

When stdout is not a terminal, mdv doesn't output color codes, causing watch to not output color. (despite it being ran with --color/-c).

e.g. :

watch --color -n 3 'mdv -t 960.847 test.md' will result in watch's output being colorless, whereas just running the same mdv command inside the shell normally causes it to produce colored output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant