12 lines
230 B
Python
12 lines
230 B
Python
from textual.app import App, ComposeResult
|
|
from textual.widgets import Header
|
|
|
|
|
|
class HeaderApp(App):
|
|
def compose(self) -> ComposeResult:
|
|
yield Header()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app = HeaderApp()
|
|
app.run()
|