feat: add arrow key symbols to help screen display

This commit is contained in:
2026-01-02 17:19:53 +01:00
parent 7518d16501
commit fa881a1ca8

View File

@@ -23,7 +23,7 @@ class HelpScreen(ModalScreen):
key = binding.key
description = binding.description
key_display = key.replace(
"ctrl+", "^").replace("left", "").replace("right", "").replace("space", "Space").replace("enter", "Enter")
"ctrl+", "^").replace("left", "").replace("right", "").replace("up", "").replace("down", "").replace("space", "Space").replace("enter", "Enter")
with Horizontal(classes="help_row"):
yield Static(f"[bold #f9e2af]{key_display}[/]", classes="help_key")
yield Static(description, classes="help_action")