mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-15 00:44:05 +09:00
command.js: exit should work now
This commit is contained in:
@@ -365,13 +365,13 @@ else {
|
|||||||
goInteractive = true;
|
goInteractive = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let cmdExit = false;
|
||||||
if (goInteractive) {
|
if (goInteractive) {
|
||||||
con.reset_graphics();
|
con.reset_graphics();
|
||||||
greet();
|
greet();
|
||||||
|
|
||||||
let cmdHistory = []; // zeroth element is the oldest
|
let cmdHistory = []; // zeroth element is the oldest
|
||||||
let cmdHistoryScroll = 0; // 0 for outside-of-buffer, 1 for most recent
|
let cmdHistoryScroll = 0; // 0 for outside-of-buffer, 1 for most recent
|
||||||
let cmdExit = false;
|
|
||||||
while (!cmdExit) {
|
while (!cmdExit) {
|
||||||
con.reset_graphics();
|
con.reset_graphics();
|
||||||
print_prompt_text();
|
print_prompt_text();
|
||||||
|
|||||||
Reference in New Issue
Block a user