On Sat, 17 Oct 2020 at 21:50, Ethan Furman <et...@stoneleaf.us> 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.
Because someone wants to support `cls` or `clear` inside a statement? I suppose it can be done, but I don't see the use case. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@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/VYT5DK26YJQA55FOQ75NF7A2DSQ6TIVI/ Code of Conduct: http://python.org/psf/codeofconduct/