From a1c561e26fae79ce8a9570c9404975a8a0367d65 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 17 May 2014 22:46:17 +0200 Subject: [PATCH] Shorter hints, which mean more space for actions in the tutorial --- naja/widgets/info_area.py | 8 ++++---- naja/widgets/text.py | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index 0c5bd0a..5697b19 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -20,12 +20,12 @@ from naja.widgets.text import TextBoxWidget, TextWidget HINTS = { - ACT: ("Choose an action using the Up/Down keys.\n" - "Press Enter to execute the action."), - EXAMINE: "Select a tile to examine using the arrow keys.", + ACT: "Choose an action using {NORTH,SOUTH} keys.\n" + "Press {RETURN} to execute it.", + EXAMINE: "Browse the tiles with {NORTH,SOUTH,EAST,WEST} keys.", } -HINT_LEGAL_MOVE = "\nPress Return to move to this tile." +HINT_LEGAL_MOVE = "\nPress {RETURN} to move to this tile." TITLES = { ACT: "Choose an Action", diff --git a/naja/widgets/text.py b/naja/widgets/text.py index 1cf15d0..de77a60 100644 --- a/naja/widgets/text.py +++ b/naja/widgets/text.py @@ -13,6 +13,7 @@ MARKUP_MAP = { 'SOUTH': ('glyphs/arrow_down.png', None), 'EAST': ('glyphs/arrow_right.png', None), 'WEST': ('glyphs/arrow_left.png', None), + 'RETURN': ('glyphs/arrow_left.png', None), 'HEALTH': ('glyphs/health.png', PALETTE.DARK_RED), 'WINTOKEN': ('glyphs/win.png', PALETTE.DARK_OLIVE), 'KEY': ('glyphs/key.png', None), -- 2.34.1