Tal Einat added the comment: Attaching a patch adding a ClearWindow extension for IDLE.
I took some ideas from Roger's version in IdleX, but I wrote this version from scratch and it is significantly different in many aspects. This patch includes extensive tests with 98% coverage of ClearWindow.py. This also includes a minor change to PyShell, adding a 'prompt' tag to every prompt in the shell's Text widget. This makes it straightforward for the ClearWindow extension to find the last prompt in the shell. ---------- keywords: +patch Added file: http://bugs.python.org/file34145/taleinat.20140219.IDLE_ClearWindow_extension.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6143> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com