From d755a6406d8de85f1c56deef827ba2f88df875dc Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 28 Sep 2021 12:15:14 -0400 Subject: Add direct game selection tip to menu --- play.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/play.c b/play.c index 37e1445..3e2811f 100644 --- a/play.c +++ b/play.c @@ -234,6 +234,15 @@ static const struct Game *menu(void) { attrset(A_NORMAL); mvaddstr(2 + 3 * i, 2, Games[i].desc); } + attrset(A_BOLD); + mvaddstr(2 + 3 * ARRAY_LEN(Games), 2, "Tip: "); + attrset(A_NORMAL); + addstr("You can select a game directly using "); + attrset(A_BOLD); + addstr("ssh -t play@ascii.town "); + addstr(Games[game].name); + attrset(A_NORMAL); + clrtoeol(); move(1 + 3 * game, 2); int ch = getch(); switch (ch) { -- cgit 1.4.1