diff --git a/src/main.cpp b/src/main.cpp index 6f53a7c..91aae32 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -152,6 +152,11 @@ int main(void) format_str_width = MeasureText(format_str.c_str(), FONT_SIZE * 2); } + if (IsKeyPressed(KEY_SPACE)) + { + state.pause_work = !state.pause_work; + } + // Draw ClearBackground(BLACK);