[issue44627] Python terminal cmd line recall

jg report at bugs.python.org
Wed Jul 14 09:39:49 EDT 2021


jg <jggammon at hotmail.com> added the comment:

Thanks, I didn't know about the F7 or F8 commands.

My 'Discard Old Duplicates' was already disabled (default?).

John G. Gammon -.  ..  ....  ..  .-..      .-  -..  --  ..  .-.  .-  .-.  ..
This message and any attachments hereto may contain confidential and/or privileged information. If you are not the intended recipient or authorized to receive this for the intended recipient, please advise the sender immediately by reply e-mail and delete this message; you must not use, copy, disclose or take any other action based on this message or any information herein. Thank you for your cooperation.

________________________________
From: report=bugs.python.org at roundup.psfhosted.org <report=bugs.python.org at roundup.psfhosted.org> on behalf of Eryk Sun <report at bugs.python.org>
Sent: Tuesday, July 13, 2021 16:55
To: jggammon at hotmail.com <jggammon at hotmail.com>
Subject: [issue44627] Python terminal cmd line recall

Eryk Sun <eryksun at 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.

---
[1] https://github.com/microsoft/terminal/issues/4186

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44627>
_______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44627>
_______________________________________


More information about the Python-bugs-list mailing list