console: fix body scrolling

This commit is contained in:
Aldo Cortesi
2015-03-31 15:59:54 +13:00
parent 82997cb311
commit 44fb42185f
2 changed files with 2 additions and 1 deletions

View File

@@ -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