diff options
author | Tal Einat <taleinat+github@gmail.com> | 2018-09-25 15:10:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 15:10:14 +0300 |
commit | 604e7b9931f9e7881a2941816e538f5f15930db8 (patch) | |
tree | 393ac360f1d76ab0afc2621c76d6b998e9813c60 /Lib/idlelib/pyshell.py | |
parent | 5b3cbcd4a041eeda935dd6d0c75f2d38111ed03d (diff) | |
download | cpython-git-604e7b9931f9e7881a2941816e538f5f15930db8.tar.gz |
bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)
Diffstat (limited to 'Lib/idlelib/pyshell.py')
-rwxr-xr-x | Lib/idlelib/pyshell.py | 4 |
1 files changed, 4 insertions, 0 deletions
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", "<<squeeze-current-text>>"), + ] # New classes from idlelib.history import History |