[Python-ideas] Suggestion: Clear screen command for the REPL
eryk sun
eryksun at gmail.com
Sat Sep 17 10:13:33 EDT 2016
On Sat, Sep 17, 2016 at 1:15 PM, Wes Turner <wes.turner at gmail.com> wrote:
> !cls #windows
cmd's built-in cls command doesn't clear just the screen, like a VT100
\x1b[1J. It clears the console's entire scrollback buffer. Unix
`clear` may also work like that. With GNOME Terminal in Linux, `clear`
leaves a single screen in the scrollback buffer.
More information about the Python-ideas
mailing list