console: fix body scrolling
This commit is contained in:
parent
82997cb311
commit
44fb42185f
|
@ -36,7 +36,7 @@ class Searchable(urwid.ListBox):
|
|||
if key == "N":
|
||||
self.find_next(True)
|
||||
else:
|
||||
return key
|
||||
super(self.__class__, self).keypress(size, key)
|
||||
|
||||
def set_search(self, text):
|
||||
self.state.last_search = text
|
||||
|
|
|
@ -33,3 +33,4 @@ class Tabs(urwid.WidgetWrap):
|
|||
body = self.tabs[self.tab_offset][1](),
|
||||
header = headers
|
||||
)
|
||||
self._w.set_focus("body")
|
||||
|
|
Loading…
Reference in New Issue