Guido van Rossum <gu...@python.org> added the comment:

AFAIK the reason command history works in cmd.py on Windows is that it's built 
into the terminal program. Or maybe into the operating system.

Thus, the user can use line editing and history, but there is no API (in 
Python) to interact with these.

I'm sure Steve Dower can explain the exact situation -- it may depend on which 
Windows version and which terminal program you use (my only recent experience 
is with winterm on Windows 10).

I agree that (once we sort out what works in what versions of Windows and which 
terminal programs) we should clarify this in the docs.

----------
nosy: +steve.dower

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45870>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to