New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python terminal cmd line recall #88793
Comments
Command line recall in python terminal treats strings case insensitively. Example:
Define a 'dummy' function that takes a string as input. If you run dummy twice with the same input string, but different cases, it only saves one.
>>> dummy("This is a test") # run this
>>> dummy("THIS IS A TEST") # run again w/ different string
Now if you try cmd recall, it only recalls the first.
I believe it should recall both.
Maybe it's treating one as a duplicate - erroneously? |
By default, reading input from the console uses the console's built-in command-line editor. You can clear the console input history with Alt+F7; display the history list with F7; navigate in the history list with the up and down arrow keys, even when the list isn't displayed; recall the first and last entries of the list with page up and page down; and cycle through matching command completions with F8. Having said that, the new implementation of the console in Windows 10 has a bug in the "Discard Old Duplicates" history option [1]. Try disabling this option in the console's "Properties" dialog, which can be accessed from the Alt+Space control menu. --- |
Thanks, I didn't know about the F7 or F8 commands. My 'Discard Old Duplicates' was already disabled (default?). John G. Gammon -. .. .... .. .-.. .- -.. -- .. .-. .- .-. .. From: report=bugs.python.org@roundup.psfhosted.org <report=bugs.python.org@roundup.psfhosted.org> on behalf of Eryk Sun <report@bugs.python.org> Eryk Sun <eryksun@gmail.com> added the comment: By default, reading input from the console uses the console's built-in command-line editor. You can clear the console input history with Alt+F7; display the history list with F7; navigate in the history list with the up and down arrow keys, even when the list isn't displayed; recall the first and last entries of the list with page up and page down; and cycle through matching command completions with F8. Having said that, the new implementation of the console in Windows 10 has a bug in the "Discard Old Duplicates" history option [1]. Try disabling this option in the console's "Properties" dialog, which can be accessed from the Alt+Space control menu. --- ---------- Python tracker <report@bugs.python.org> |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: