ui/curses: estimate time in progress bars

This commit is contained in:
rr-
2019-01-04 16:40:30 +01:00
parent b20c4b4b34
commit 0133802570
9 changed files with 107 additions and 35 deletions
@@ -14,7 +14,9 @@ class PlotWindow(Focusable, ListBoxProgressBarWindow):
def __init__(
self, player: Player, parent: T.Any, h: int, w: int, y: int, x: int
) -> None:
super().__init__(parent, h, w, y, x, " Plot Development ")
super().__init__(
parent, h, w, y, x, " Plot Development ", show_time=True
)
self._on_focus_change += self._render
self._player = player