Blob Blame History Raw
--- bpython/cli.py~	2012-12-10 16:26:07.000000000 +0100
+++ bpython/cli.py	2013-11-18 22:58:45.922942612 +0100
@@ -1773,7 +1773,10 @@
     curses.doupdate()
     DO_RESIZE = False
 
-    caller.resize()
+    try:
+        caller.resize()
+    except curses.error:
+        pass
     # The list win resizes itself every time it appears so no need to do it here.