Browse Source

Clear the screen between weekly and top boards

master
Causal Agent 4 months ago
parent
commit
f0c3d8ea25
Signed by: Curtis McEnroe <june@causal.agency> GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      play.c

+ 3
- 3
play.c View File

@@ -111,9 +111,8 @@ static char board[BoardWidth + 1];
static char *boardTitle(const char *title) {
snprintf(
board, sizeof(board),
"%*s%*s",
(int)(BoardWidth + strlen(title)) / 2, title,
BoardWidth, ""
"%*s",
(int)(BoardWidth + strlen(title)) / 2, title
);
return board;
}
@@ -248,6 +247,7 @@ int main(int argc, char *argv[]) {
noecho();
curs_set(0);
getch();
erase();

scoresRead(top);
index = scoresInsert(new);

Loading…
Cancel
Save