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

Should the Qt console be treated as a tty? #50

Closed
swt30 opened this issue Aug 30, 2015 · 2 comments
Closed

Should the Qt console be treated as a tty? #50

swt30 opened this issue Aug 30, 2015 · 2 comments
Milestone

Comments

@swt30
Copy link

swt30 commented Aug 30, 2015

Came here from astropy/astropy#2297, where a updateable progress bar isn't printing inside the Qt console. It looks like this is because, in the console, sys.stdout.isatty() is False. Should this be the case? I don't know enough about what a tty actually is to judge whether this is something that needs to be fixed, or whether we shouldn't be using isatty to judge whether we can treat the console like one.

@swt30 swt30 changed the title Should the Qt console have sys.stdout.isatty == False? Should the Qt console be treated as a tty? Aug 30, 2015
@ccordoba12
Copy link
Collaborator

Qtconsole is written entirely in Qt. It emulates the look and feel of a real console (i.e. a tty one) but it doesn't have to do anything with it.

@swt30
Copy link
Author

swt30 commented Aug 30, 2015

OK thanks - sounds like something that needs to be worked round on the other end then.

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

3 participants