From 604e7b9931f9e7881a2941816e538f5f15930db8 Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Tue, 25 Sep 2018 15:10:14 +0300 Subject: bpo-1529353: IDLE: squeeze large output in the shell (GH-7626) --- Lib/idlelib/pyshell.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Lib/idlelib/pyshell.py') diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index 52c11e30db..5458c59dbd 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py @@ -856,6 +856,10 @@ class PyShell(OutputWindow): ("help", "_Help"), ] + # Extend right-click context menu + rmenu_specs = OutputWindow.rmenu_specs + [ + ("Squeeze", "<>"), + ] # New classes from idlelib.history import History -- cgit v1.2.1