bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)

diff --git a/Lib/idlelib/config-main.def b/Lib/idlelib/config-main.def
index 16f4b09..06e3c5a 100644
--- a/Lib/idlelib/config-main.def
+++ b/Lib/idlelib/config-main.def
@@ -66,6 +66,9 @@
 font-bold= 0
 encoding= none
 
+[PyShell]
+auto-squeeze-min-lines= 50
+
 [Indent]
 use-spaces= 1
 num-spaces= 4