Message407174
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. |
|
Date |
User |
Action |
Args |
2021-11-27 22:22:38 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, terry.reedy, eryksun, steve.dower, keeely |
2021-11-27 22:22:38 | gvanrossum | set | messageid: <1638051758.74.0.190889721669.issue45870@roundup.psfhosted.org> |
2021-11-27 22:22:38 | gvanrossum | link | issue45870 messages |
2021-11-27 22:22:38 | gvanrossum | create | |
|