mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 06:44:00 -06:00
ui: sketch game view
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import urwid
|
||||
|
||||
|
||||
class CustomProgressBar(urwid.ProgressBar):
|
||||
def __init__(self) -> None:
|
||||
super().__init__("progressbar-incomplete", "progressbar-done", 0, 1)
|
||||
|
||||
def set_max(self, value: int) -> None:
|
||||
self._done = value
|
||||
Reference in New Issue
Block a user