on startup _redraw_screen can be called before the urwid event loop has started, in which case draw_screen throws. (this is harmless.) before urwid commit 9e72578, it would throw AssertionError; as of 9e72578 it throws RuntimeError. this fix ensures both are caught.
on startup
_redraw_screen
can be called before the urwid event loop has started, in which casedraw_screen
throws. (this is harmless.) before urwid commit9e72578
, it would throwAssertionError
; as of9e72578
it throwsRuntimeError
. this fix ensures both are caught.