Longer delay after each output

This commit is contained in:
Thomas Smith 2023-02-28 14:02:39 -05:00
parent f227de56d6
commit 6625171bb9

View file

@ -45,7 +45,8 @@
document.querySelector("#terminal-output").innerHTML = commandOutput; document.querySelector("#terminal-output").innerHTML = commandOutput;
commandIndex++; commandIndex++;
command = commands[commandIndex]; command = commands[commandIndex];
setTimeout(typeCommand, 1000); // Add a longer delay after each command output (500ms in this case)
setTimeout(typeCommand, 2000);
}, 1000); }, 1000);
return; return;
} }