From 491a315aed0676da32f11970debbcd2a7cc25c50 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 20 Oct 2022 20:42:48 +0100 Subject: [PATCH] Switch the dark mode toggle to Ctrl+D It was on D (as in uppercase D, or shift-d), but I feel this was going to be confusing given that there is still this slight mixup with the display of letters in the footer, and what was bound, etc. So... make it obvious what to press. Remember, 'd' can't be used because it's a movement key in this game. --- 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 4c6004aef..5d4c71fe3 100644 --- a/examples/five_by_five.py +++ b/examples/five_by_five.py @@ -315,7 +315,7 @@ class FiveByFive(App[None]): SCREENS = {"help": Help()} #: App-level bindings. - BINDINGS = [("D", "toggle_dark", "Toggle Dark Mode")] + BINDINGS = [("ctrl+d", "toggle_dark", "Toggle Dark Mode")] def __init__(self) -> None: """Constructor."""