summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui.c b/ui.c
index 28f6f5c..6f5bae1 100644
--- a/ui.c
+++ b/ui.c
@@ -60,11 +60,8 @@ void printpieces(struct piece** hand, int y, int x, int nhand, int highlight) {
continue;
struct piece* pc = hand[i];
- move(y, x);
-
- printw("%d", i);
- printrect(y + 1, x, pc->h + 2, pc->w + 2);
- printpiece(pc, y + 3, x + 3, (i == highlight ? 1 : 0));
+ printrect(y, x, pc->h + 2, pc->w + 2);
+ printpiece(pc, y + 2, x + 3, (i == highlight ? 1 : 0));
x += 2 * pc->w + 8;
}