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

Read terminal color codes in daemon client on every run #7684

Open
ilevkivskyi opened this issue Oct 10, 2019 · 2 comments
Open

Read terminal color codes in daemon client on every run #7684

ilevkivskyi opened this issue Oct 10, 2019 · 2 comments

Comments

@ilevkivskyi
Copy link
Member

Currently terminal color codes are read once during daemon start-up, and then re-used on each run. So if the daemon is started in one environment (e.g. an IDE plugin) where colors are not available, and then run in another where they are available (e.g. a normal terminal), the colors stay disabled until the next daemon restart.

This is probably low priority because people don't often switch between running mypy daemon in a terminal and in IDE, and this doesn't cause mangled formatting.

@gvanrossum
Copy link
Member

I often switch between terminal and PyCharm, actually.

@ilevkivskyi
Copy link
Member Author

Me too :-) but I think we are outliers. We can see if people will complain about this.

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

No branches or pull requests

3 participants