From 90b564969cc3dc6a94d898ee9c7b987c0a863b43 Mon Sep 17 00:00:00 2001 From: Clerxnce <74209188+clerancebae@users.noreply.github.com> Date: Fri, 5 Dec 2025 16:59:46 +0300 Subject: [PATCH] Fix key initialization and while loop logic Initialize key variable and update while loop condition. --- Stacker.jack | 1 + 1 file changed, 1 insertion(+) diff --git a/Stacker.jack b/Stacker.jack index 6148ab6..59229a6 100644 --- a/Stacker.jack +++ b/Stacker.jack @@ -30,6 +30,7 @@ class Stacker { do Output.moveCursor(15, 17); do Output.printString(menuStr[3]); + let key = 0; while (key = 0) { let key = Keyboard.keyPressed(); }