Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Doc/library/idle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ View Last Restart
Restart Shell
Restart the shell to clean the environment.

Previous History
Cycle through earlier commands in history which match the current entry.

Next History
Cycle through later commands in history which match the current entry.

Interrupt Execution
Stop a running program.

Expand Down
3 changes: 3 additions & 0 deletions Lib/idlelib/mainmenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
('_View Last Restart', '<<view-restart>>'),
('_Restart Shell', '<<restart-shell>>'),
None,
('_Previous History', '<<history-previous>>'),
('_Next History', '<<history-next>>'),
None,
('_Interrupt Execution', '<<interrupt-execution>>'),
]),

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Previous/Next History entries to Shell menu.