Permalink
Browse files

Clear screen before game_init().

  • Loading branch information...
1 parent 014b4d6 commit 9c4ee71eb6a53583a71dfc5e4aa2942bcd72a2a4 @mpereira committed Jul 2, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/ttysolitaire.c
View
@@ -82,6 +82,8 @@ int main(int argc, char *argv[]) {
draw_greeting();
refresh();
if (key == KEY_SPACEBAR) {
+ clear();
+ refresh();
game_init(&game, passes_through_deck);
break;
}

0 comments on commit 9c4ee71

Please sign in to comment.