diff --git a/sandbox/will/basic.py b/sandbox/will/basic.py index ce18199f9..990e4eea8 100644 --- a/sandbox/will/basic.py +++ b/sandbox/will/basic.py @@ -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() diff --git a/src/textual/widgets/_footer.py b/src/textual/widgets/_footer.py index fe678a160..66211a450 100644 --- a/src/textual/widgets/_footer.py +++ b/src/textual/widgets/_footer.py @@ -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):