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:
parent
54a52015d6
commit
bc4978fd04
|
@ -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[:] = []
|
||||
|
|
Loading…
Reference in New Issue