stop scrollbar length bouncing around

I think the urwid behaviour without this is a bug but well. ListBox is scary
and this works so I'm happy for now.
This commit is contained in:
Michael Hudson-Doyle 2017-11-24 12:51:56 +13:00
parent 54a52015d6
commit bc4978fd04
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class ProgressView(BaseView):
self.listwalker.append(Text(line))
if at_end:
self.listbox.set_focus(len(self.listwalker) - 1)
self.listbox.set_focus_valign('bottom')
def clear_log_tail(self):
self.listwalker[:] = []