[issue41075] Add support of navigating through prev. commands in IDLE

wyz23x2 report at bugs.python.org
Mon Jun 22 07:16:27 EDT 2020


New submission from wyz23x2 <wyz23x2 at 163.com>:

Terminals like CMD have support of navigating through commands with ↑↓. While directly implementing the arrows is not good in IDLE (the use for jumping to the prev. line in GUI is needed), there should be a good way.
Some ways:
1. Alt+↑↓. The current behavior is exactly like ↑↓.
2. A "Previous input" option in the right-click menu.
3. A "Navigate" option in the right-click menu. A GUI like this will pop up:
——————————————————————————
┃        Navigate        ┃
┃  × The [4]th command   ┃
┃  O [1] command before  ┃
┃        _______         ┃
┃        ┃Paste┃         ┃
┃        ———————         ┃
——————————————————————————

It would be better if 2&3 are together.

----------
assignee: terry.reedy
components: IDLE
messages: 372085
nosy: terry.reedy, wyz23x2
priority: normal
severity: normal
status: open
title: Add support of navigating through prev. commands in IDLE
type: enhancement
versions: Python 3.10, Python 3.8, Python 3.9

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


More information about the Python-bugs-list mailing list