We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f462a commit bc85eaeCopy full SHA for bc85eae
src/textual/demo/game.py
@@ -324,10 +324,10 @@ class Game(containers.Vertical, can_focus=True):
324
"""
325
326
BINDINGS = [
327
- Binding("up", "move('up')", "☝️", priority=True),
328
- Binding("down", "move('down')", "👇", priority=True),
329
- Binding("left", "move('left')", "👈", priority=True),
330
- Binding("right", "move('right')", "👉", priority=True),
+ Binding("up", "move('up')", "up", priority=True),
+ Binding("down", "move('down')", "down", priority=True),
+ Binding("left", "move('left')", "left", priority=True),
+ Binding("right", "move('right')", "right", priority=True),
331
]
332
333
state = reactive("waiting")
@@ -544,9 +544,8 @@ class GameScreen(PageScreen):
544
}
545
546
547
- BINDINGS = [
548
- ("s", "shuffle", "Shuffle"),
549
- ("n", "new_game", "New Game"),
+ BINDINGS = [
+ ("n", "new_game", "New Game")
550
551
552
def compose(self) -> ComposeResult:
0 commit comments