mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
changelog
This commit is contained in:
@@ -38,10 +38,9 @@ class CodeBrowser(App):
|
||||
"""Compose our UI."""
|
||||
path = "./" if len(sys.argv) < 2 else sys.argv[1]
|
||||
yield Header()
|
||||
yield Container(
|
||||
DirectoryTree(path, id="tree-view"),
|
||||
Vertical(Static(id="code", expand=True), id="code-view"),
|
||||
)
|
||||
with Container():
|
||||
yield DirectoryTree(path, id="tree-view")
|
||||
yield Vertical(Static(id="code", expand=True), id="code-view")
|
||||
yield Footer()
|
||||
|
||||
def on_mount(self, event: events.Mount) -> None:
|
||||
|
||||
Reference in New Issue
Block a user