[Python-ideas] Suggestion: Clear screen command for the REPL
Chris Angelico
rosuav at gmail.com
Wed Sep 28 23:36:03 EDT 2016
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
More information about the Python-ideas
mailing list