Repository navigation
gh-50393: "Clear and restart" IDLE shell windows - #21682
ZackerySpytz wants to merge 1 commit into
Conversation
Add a "Clear and Restart" item to the "Shell" menu. This can be used to clear the contents of the shell window.
| </dd> | ||
| <dt>Restart Shell</dt><dd><p>Restart the shell to clean the environment.</p> | ||
| </dd> | ||
| <dt>Clear and Restart</dt><dd><p>Restart the shell and clear the contents of the shell window.</p> |
There was a problem hiding this comment.
This file is generated from the IDLE doc: Doc/librarary/idle.rst. Edit latter instead.
| console.text.mark_unset("iomark") | ||
| console.text.delete("0.0", "end") | ||
| console.resetoutput() | ||
| console.write_header() |
There was a problem hiding this comment.
I am not sure we need this. And the new function.
| ('shell', [ | ||
| ('_View Last Restart', '<<view-restart>>'), | ||
| ('_Restart Shell', '<<restart-shell>>'), | ||
| ('_Clear and Restart', '<<clear-restart-shell>>'), |
There was a problem hiding this comment.
I think Clear shell might be sufficient.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
This PR is stale because it has been open for 30 days with no activity. |
|
This PR has not been touched by a human in more than 5 years. Closing to cull the number of open pull requests. Do not reopen this pull request without getting a go-ahead from a triager or core developer on the related issue. |
Add a "Clear and Restart" item to the "Shell" menu. This can be used
to clear the contents of the shell window.
https://bugs.python.org/issue6143