On Sat, Jul 9, 2016 at 12:20 AM, Terry Reedy wrote:
> The escape key erasing input back to the beginning of the line is Command
> Prompt or cmd.exe behavior.
cmd.exe is just a shell that uses the console (if the standard handles
are console handles). The console window is
On Fri, Jul 8, 2016 at 11:17 PM, John Nagle wrote:
> If "readline" is imported, "input" gets "readline" capabilities.
> It also loses the ability to import control characters. It doesn't
> matter where "readline" is imported; an import in some library
> module can trigger
I was typing in a hurry. There are several unreadable items below. Let me
correct myself...
On 09Jul2016 09:45, Cameron Simpson wrote:
Perhaps the Windows console is treating ESC specially, apparently as "line
erase", discarduing any preceeding text. Hence your results.
On 7/8/2016 7:17 PM, John Nagle wrote:
If "readline" is imported, "input" gets "readline" capabilities.
It also loses the ability to import control characters. It doesn't
matter where "readline" is imported; an import in some library
module can trigger this. You can try this with a simple
On 08Jul2016 16:17, John Nagle wrote:
If "readline" is imported, "input" gets "readline" capabilities.
It also loses the ability to import control characters. It doesn't
matter where "readline" is imported; an import in some library
module can trigger this. You can try
If "readline" is imported, "input" gets "readline" capabilities.
It also loses the ability to import control characters. It doesn't
matter where "readline" is imported; an import in some library
module can trigger this. You can try this with a simple test
case:
print(repr(input()))
as a