Message 211641 - Python tracker
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.