IndicativeListBox info exposed for navigation

This commit is contained in:
Mark Qvist 2021-05-14 17:33:58 +02:00
parent d9fe743b90
commit 23a0f43758

View File

@ -183,6 +183,9 @@ class IndicativeListBox(urwid.WidgetWrap):
# Store the last focus to do/undo the off focus highlighting only if the focus has really changed and not if the # Store the last focus to do/undo the off focus highlighting only if the focus has really changed and not if the
# widget is re-rendered because the terminal size has changed or similar. # widget is re-rendered because the terminal size has changed or similar.
self._last_focus_state = focus self._last_focus_state = focus
self.top_is_visible = top_is_visible
self.bottom_is_visible = bottom_is_visible
return super().render(size, focus=focus) return super().render(size, focus=focus)