summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-28 12:15:14 -0400
committerJune McEnroe <june@causal.agency>2021-09-28 12:15:14 -0400
commitd755a6406d8de85f1c56deef827ba2f88df875dc (patch)
tree61f618be45bce79e632cebae64a7a477a7e9667e
parentExtract chroot.tar with -p (diff)
downloadplay-d755a6406d8de85f1c56deef827ba2f88df875dc.tar.gz
play-d755a6406d8de85f1c56deef827ba2f88df875dc.zip
Add direct game selection tip to menu
-rw-r--r--play.c9
1 files changed, 9 insertions, 0 deletions
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) {