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

2016-09-28 Thread Steven D'Aprano
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 standa

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

2016-09-28 Thread Oleg Broytman
On Thu, Sep 29, 2016 at 12:04:28PM +1000, Steven D'Aprano wrote: > (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?) I don't think consistency should go that far. Consistency inside the platform is m

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

2016-09-28 Thread Chris Angelico
On Thu, Sep 29, 2016 at 12:04 PM, Steven D'Aprano wrote: > (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?) Sadly, I suspect not. If you're running in the default Windows terminal emulator (the one a nor

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

2016-09-28 Thread אלעזר
"Bash on Ubuntu on windows" responds to CTRL+D just fine. I don't really know how it works, but it looks like it is based on the Windows terminal emulator. Elazar בתאריך יום ה׳, 29 בספט' 2016, 06:36, מאת Chris Angelico ‏: > On Thu, Sep 29, 2016 at 12:04 PM, Steven D'Aprano > wrote: > > (Also, i

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

2016-09-28 Thread João Matos
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