for for binding on press

This commit is contained in:
Will McGugan
2022-09-09 09:39:04 +01:00
parent 528c617b99
commit 830f98503a
2 changed files with 6 additions and 5 deletions

View File

@@ -31,9 +31,7 @@ class Focusable1(Focusable):
class Focusable2(Focusable):
CSS = ""
BINDINGS = [
("b", "app.bell", "Beep"),
]
BINDINGS = [("b", "app.bell", "Beep"), ("f1", "app.quit", "QUIT")]
def render(self) -> str:
return repr(self)