mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Correct binding to the escape key
This commit is contained in:
@@ -18,7 +18,7 @@ class Help(Screen):
|
||||
"""The help screen for the application."""
|
||||
|
||||
#: Bindings for the help screen.
|
||||
BINDINGS = [("esc,space,q,h,question_mark", "app.pop_screen", "Close")]
|
||||
BINDINGS = [("escape,space,q,h,question_mark", "app.pop_screen", "Close")]
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
"""Compose the game's help."""
|
||||
|
||||
Reference in New Issue
Block a user