On Fri, Oct 16, 2020 at 11:30:56PM +0200, Marco Sulla wrote:

> Well, in terminals like bash, `clear` does not really delete the
> previous input. It simply move the scroll so the first line of the
> input is the current input.

That's not actually correct: in bash, `clear` actually deletes the 
scrollback buffer too.

In modern Linuxes, `clear` takes an option `-x` which suppresses that 
behaviour. Perhaps you have an alias?

    alias clear='clear -x'



-- 
Steve
_______________________________________________
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/3CHBIZOXUPD6OWEKBYISYRDKA3VKO3LO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to