From 9d3a202c27ebf817520cb73ec3a869b820c45656 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 12 Dec 2025 04:09:50 +0000 Subject: [PATCH] Implement stepping via KEY_SPACE --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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);