[Python-ideas] Suggestion: Clear screen command for the REPL

João Matos jcrmatos at gmail.com
Thu Sep 29 02:50:32 EDT 2016


Hello,

Yes, Ctrl-L doesn't clear the screen on Windows.
Making Ctrl-L clear the screen would be a good solution (no need for a 
clear screen command).


Best regards,

JM

quinta-feira, 29 de Setembro de 2016 às 03:06:26 UTC+1, Steven D'Aprano 
escreveu:

> On Tue, Sep 27, 2016 at 10:05:16AM -0700, João Matos wrote: 
> > Hello, 
> > 
> > 
> > It doesn't work in Windows. 
>
> What is "it"? Are you talking about Ctrl-L to clear the screen? 
>
>
> Perhaps we should start by adding Ctrl-L as a standard way to clear the 
> Python REPL, in the same way that Ctrl-C is the standard way to 
> interrupt the interpreter regardless of whether you are using Linux, Mac 
> or Windows. 
>
> (Also, it seems a shame that Ctrl-D is EOF in Linux and Mac, but Windows 
> is Ctrl-Z + Return. Can that be standardized to Ctrl-D everywhere?) 
>
>
> -- 
> Steve 
> _______________________________________________ 
> Python-ideas mailing list 
> Python... at python.org <javascript:> 
> https://mail.python.org/mailman/listinfo/python-ideas 
> Code of Conduct: http://python.org/psf/codeofconduct/ 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160928/c60a571c/attachment-0001.html>


More information about the Python-ideas mailing list