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.
This commit is contained in:
Dave Pearson
2022-10-20 20:42:48 +01:00
parent 8e1dcbd2e1
commit 491a315aed

View File

@@ -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."""