diff --git a/clients/urwid/main.py b/clients/urwid/main.py index 73e6c00..204f165 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -1407,7 +1407,7 @@ def frilly_exit(): # sometimes this gets called before the loop is set up properly try: app.loop.stop() except: pass - if app.prefs["dramatic_exit"]: + if app.prefs["dramatic_exit"] and app.loop.screen_size: width, height = app.loop.screen_size for x in range(height - 1): motherfucking_rainbows(