mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:45:05 +03:00
Longer delay after each output
This commit is contained in:
parent
f227de56d6
commit
6625171bb9
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue