[Python-ideas] Suggestion: Clear screen command for the REPL
אלעזר
elazarg at gmail.com
Wed Sep 28 23:41:06 EDT 2016
"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 <rosuav at gmail.com>:
> On Thu, Sep 29, 2016 at 12:04 PM, Steven D'Aprano <steve at pearwood.info>
> 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 normal user will get by invoking
> cmd.exe), you're running under a lot of restrictions, and I believe
> one of them is that you can't get Ctrl-D without an enter.
>
> But it would be very nice to support both.
>
> ChrisA
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> 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/20160929/cedff935/attachment.html>
More information about the Python-ideas
mailing list