mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Snapshot testing footer
This commit is contained in:
@@ -4,7 +4,16 @@ from textual.widgets import Footer
|
||||
|
||||
|
||||
class FooterApp(App):
|
||||
BINDINGS = [Binding(key="q", action="quit", description="Quit the app")]
|
||||
BINDINGS = [
|
||||
Binding(key="q", action="quit", description="Quit the app"),
|
||||
Binding(
|
||||
key="question_mark",
|
||||
action="help",
|
||||
description="Show help screen",
|
||||
key_display="?",
|
||||
),
|
||||
Binding(key="j", action="down", description="Scroll down", show=False),
|
||||
]
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Footer()
|
||||
|
||||
Reference in New Issue
Block a user