diff --git a/src/main.cpp b/src/main.cpp index 7e34a3f..4b2638a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -156,7 +156,7 @@ void startGame(Board &board) cursorX = (cursorX < boardSize.x - 1) ? cursorX + 1 : 0; break; case 'q': - return; + exit(0); break; case 'z': if (!somethingHasBeenDone)