[clock] Add a centralised Clock, responsible for anything related to time

This makes time quite easier to mock during integration tests :-)
This commit is contained in:
Olivier Philippon
2022-05-17 17:07:06 +01:00
parent 5789816333
commit 4549f2d478
7 changed files with 180 additions and 126 deletions

View File

@@ -35,7 +35,7 @@ class Introduction(Widget):
}
"""
def render(self) -> RenderableType:
def render(self, styles) -> RenderableType:
return Text(
"Press keys 0 to 9 to scroll to the Placeholder with that ID.",
justify="center",