Skip to content

Commit bc85eae

Browse files
committed
remove emoji that don't work on WT
1 parent 12f462a commit bc85eae

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/textual/demo/game.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,10 @@ class Game(containers.Vertical, can_focus=True):
324324
"""
325325

326326
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),
327+
Binding("up", "move('up')", "up", priority=True),
328+
Binding("down", "move('down')", "down", priority=True),
329+
Binding("left", "move('left')", "left", priority=True),
330+
Binding("right", "move('right')", "right", priority=True),
331331
]
332332

333333
state = reactive("waiting")
@@ -544,9 +544,8 @@ class GameScreen(PageScreen):
544544
}
545545
"""
546546

547-
BINDINGS = [
548-
("s", "shuffle", "Shuffle"),
549-
("n", "new_game", "New Game"),
547+
BINDINGS = [
548+
("n", "new_game", "New Game")
550549
]
551550

552551
def compose(self) -> ComposeResult:

0 commit comments

Comments
 (0)