diff --git a/canvas.html b/canvas.html index 6c58c32..321447c 100644 --- a/canvas.html +++ b/canvas.html @@ -106,7 +106,7 @@ document.getElementById('term').innerHTML = xterm.toString('html'); - setTimeout(write, 1000); + setTimeout(write, 1000 - new Date().getMilliseconds()); } write();