The IPython terminal has used Python Prompt Toolkit since version 5, so PPT
would be my default choice for any shell or console applications (though I
haven't used it for a few years).
-- Carl Smith
carl.input@gmail.com
On Sat, 17 Oct 2020 at 20:51, Ethan Furman
On 10/17/20 10:54 AM, Marco Sulla wrote:
I think that in this case `clear` simply writes N enter chars, until the terminal is "cleared". IMHO this is the safest option.
'clear' should also leave the cursor in the upper-left position, which cannot be gotten by writing a bunch of line feeds.
-- ~Ethan~ _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/IGUKJF... Code of Conduct: http://python.org/psf/codeofconduct/