mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
remove log
This commit is contained in:
@@ -110,7 +110,8 @@ class BasicApp(App, css_path="basic.css"):
|
||||
def on_load(self):
|
||||
"""Bind keys here."""
|
||||
self.bind("s", "toggle_class('#sidebar', '-active')", description="Sidebar")
|
||||
self.bind("d", "toggle_dark()", description="Dark mode")
|
||||
self.bind("d", "toggle_dark", description="Dark mode")
|
||||
self.bind("q", "quit", description="Quit")
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
table = DataTable()
|
||||
|
||||
@@ -97,7 +97,6 @@ class Footer(Widget):
|
||||
meta={"@click": f"app.press('{binding.key}')", "key": binding.key},
|
||||
)
|
||||
text.append_text(key_text)
|
||||
self.log(text)
|
||||
return text
|
||||
|
||||
def post_render(self, renderable):
|
||||
|
||||
Reference in New Issue
Block a user