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

Feature Request: Clear Console After Kernel Restart #3458

Closed
dhirschfeld opened this issue Sep 25, 2016 · 2 comments
Closed

Feature Request: Clear Console After Kernel Restart #3458

dhirschfeld opened this issue Sep 25, 2016 · 2 comments

Comments

@dhirschfeld
Copy link
Contributor

The previous behaviour of spyder was to clear the console after a kernel restart whereas now it simply prints a Restarting kernel... and a horizontal line but leaves the full history in the console:
image

Whilst this may sometimes be desirable, at other times the history of the previous session is simply noise and makes it difficult to determine where the output from the new session started. This would be less of an issue if there were a way to clear the console manually but the %clear magic just scrolls down and doesn't actually clear the contents of the console.

It would be nice if there were a configuration setting so you could choose whether or not to clear the console after a kernel restart.

@goanpeca goanpeca added this to the v3.0.1 milestone Sep 25, 2016
@ccordoba12
Copy link
Member

So %clear is not working on Windows? And does this happen only after a kernel or always?

@dhirschfeld
Copy link
Contributor Author

%clear doesn't work before or after a kernel restart and I don't think it ever has for me
image

It's probably a behaviour inherited from the qtconsole:
image

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