summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 1b1cb74..1c1eea3 100644
--- a/ui.c
+++ b/ui.c
@@ -67,3 +67,9 @@ void printpieces(struct piece** hand, int y, int x, int nhand, int highlight) {
refresh();
}
+void printhelp(int y, int x) {
+ mvprintw(y, x, "Press arrow keys / wasd / hjkl to navigate");
+ mvprintw(y + 1, x, "[ or ] to switch pieces");
+ mvprintw(y + 2, x, "Press q to quit");
+}
+