def redraw_tabs(self):
# this is done to ensure that the bottom bar is re-drawn after opening files
foot_col = urwid.Columns(self.display.tabs)
foot = urwid.AttrMap(foot_col, 'footer')
if self.display.layout:
self.display.top.contents['header'] = (foot, None)
else:
self.display.top.contents['footer'] = (foot, None)
评论列表
文章目录