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 [email protected] On Sat, 17 Oct 2020 at 20:51, Ethan Furman <[email protected]> wrote: > 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 -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/IGUKJF6TE33IWOZ4Y7HK6Q2RKP6V6WTD/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/IGNHCNTLFBI3TZN4XKE5RC4VIVTMEHW5/ Code of Conduct: http://python.org/psf/codeofconduct/
