From acad4c7495eedfbe0ccc02db86eb7c53a5cc7328 Mon Sep 17 00:00:00 2001 From: structix Date: Sat, 6 May 2017 14:50:28 +0200 Subject: [PATCH] Fixed "ctrl + c to exit" at the bottom line --- hangman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hangman.c b/hangman.c index bdd285b..07385d0 100644 --- a/hangman.c +++ b/hangman.c @@ -118,7 +118,7 @@ void showStartScreen(game_state *gs) { void updateScreen(game_state *gs) { 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); mvprintw(1, 1, "Wrong characters: %s", gs->wrongCharacters); refresh();