add textual app skeleton
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
from .tui import ChoreManagerTui
|
||||||
def main_tui() -> None:
|
def main_tui() -> None:
|
||||||
print("Hello World")
|
app = ChoreManagerTui()
|
||||||
|
app.run()
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
from textual.app import App, ComposeResult
|
||||||
|
from textual.widgets import Header
|
||||||
|
|
||||||
|
|
||||||
|
class ChoreManagerTui(App):
|
||||||
|
|
||||||
|
|
||||||
|
def compose(self) -> ComposeResult:
|
||||||
|
yield Header()
|
||||||
Reference in New Issue
Block a user