initial setup
This commit is contained in:
15
src/main.py
Normal file
15
src/main.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from textual.app import App, ComposeResult
|
||||
|
||||
from textual.widgets import Footer
|
||||
from widgets.text_editor import TextEditor
|
||||
|
||||
|
||||
class Berry(App):
|
||||
def compose(self) -> ComposeResult:
|
||||
yield TextEditor(language="python")
|
||||
yield Footer()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = Berry()
|
||||
app.run()
|
||||
Reference in New Issue
Block a user