  } else {
                        replButton.removeAttribute("disabled");
                        runButton.removeAttribute("disabled");
                        stopButton.setAttribute("disabled", true);
                    }
                };

                runButton.addEventListener("click", (e) => {
                    terminal.clear();
                    terminal.reset(); // reset the history
                    programRunning(true);
                    const code = editor.getValue();
             