[issue42771] Implement interactive hotkey, Ctrl+L to clear the console in Windows.
Mike Miller
report at bugs.python.org
Mon Dec 28 14:30:32 EST 2020
Mike Miller <python.org at mgmiller.net> added the comment:
I found an implementation of this for Windows in case it is needed. Not sure if it is the best way to do it, as the Console API is rather clumsy. However this one works to my knowledge:
https://github.com/tartley/colorama/blob/master/colorama/winterm.py#L111
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42771>
_______________________________________
More information about the Python-bugs-list
mailing list