Adding some compat from urwid