Skip to content

Commit

Permalink
changed entered numbers to bold to easily distinguish from pencil marks
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingpeakock committed Nov 24, 2020
1 parent 4b8020d commit e5fa9da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ void input(std::array<std::array<int, 9>, 9> &grid,
attron(COLOR_PAIR(1));
}
// Print a 3 long string to overwrite any pencil marks
attron(A_BOLD);
mvprintw(y, x - 1, " %c ", val);
grid[col][row] = val - '0';
attroff(A_BOLD);

attroff(COLOR_PAIR(1));
}
Expand Down

0 comments on commit e5fa9da

Please sign in to comment.