Fixed "ctrl + c to exit" at the bottom line
This commit is contained in:
@@ -118,7 +118,7 @@ void showStartScreen(game_state *gs) {
|
|||||||
|
|
||||||
void updateScreen(game_state *gs) {
|
void updateScreen(game_state *gs) {
|
||||||
mvprintw(0, 1, "Remaining wrong guesses: %i", (gs->allowedMoves - gs->moves));
|
mvprintw(0, 1, "Remaining wrong guesses: %i", (gs->allowedMoves - gs->moves));
|
||||||
mvprintw(gs->maxy - 1, 1, "Press ctrl + c to exit.");
|
mvprintw(gs->maxy, 1, "Press ctrl + c to exit.");
|
||||||
drawGuessWord(gs);
|
drawGuessWord(gs);
|
||||||
mvprintw(1, 1, "Wrong characters: %s", gs->wrongCharacters);
|
mvprintw(1, 1, "Wrong characters: %s", gs->wrongCharacters);
|
||||||
refresh();
|
refresh();
|
||||||
|
Reference in New Issue
Block a user