commit | 604e7b9931f9e7881a2941816e538f5f15930db8 | [log] [tgz] |
---|---|---|
author | Tal Einat <taleinat+github@gmail.com> | Tue Sep 25 15:10:14 2018 +0300 |
committer | GitHub <noreply@github.com> | Tue Sep 25 15:10:14 2018 +0300 |
tree | 393ac360f1d76ab0afc2621c76d6b998e9813c60 | |
parent | 5b3cbcd4a041eeda935dd6d0c75f2d38111ed03d [diff] [blame] |
bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index 52c11e3..5458c59 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py
@@ -856,6 +856,10 @@ ("help", "_Help"), ] + # Extend right-click context menu + rmenu_specs = OutputWindow.rmenu_specs + [ + ("Squeeze", "<<squeeze-current-text>>"), + ] # New classes from idlelib.history import History