Eryk Sun <[email protected]> added the comment:

The idea of adding some kind of clear_screen() function in the os or shutil 
module was discussed extensively on python-ideas a few months ago:

https://mail.python.org/archives/list/[email protected]/thread/EWQ2BOL3WVZAU2V2MT3HLXN3AEBHANNZ
https://mail.python.org/archives/list/[email protected]/thread/N2G5MDPST6IMUQCK6LLAUOVIJIOOC2XJ

I would not want to clear the terminal scrollback buffer, in which case the 
implementation in Windows would need to use the console API and/or VT sequences 
instead of the CMD shell's CLS command.

----------
nosy: +eryksun

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43432>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to