From 41bf93abf4da619cb2a35f2a61937363b724bf84 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 19 Oct 2022 20:10:08 +0100 Subject: [PATCH] Correct binding to the escape key --- examples/five_by_five.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/five_by_five.py b/examples/five_by_five.py index f00bec989..403483c75 100644 --- a/examples/five_by_five.py +++ b/examples/five_by_five.py @@ -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."""