diff --git a/assets/tvdos/bin/command.js b/assets/tvdos/bin/command.js index 0ee0310..8d4dec2 100644 --- a/assets/tvdos/bin/command.js +++ b/assets/tvdos/bin/command.js @@ -365,13 +365,13 @@ else { goInteractive = true; } +let cmdExit = false; if (goInteractive) { con.reset_graphics(); greet(); let cmdHistory = []; // zeroth element is the oldest let cmdHistoryScroll = 0; // 0 for outside-of-buffer, 1 for most recent - let cmdExit = false; while (!cmdExit) { con.reset_graphics(); print_prompt_text();