speed up terminal rendering

This commit is contained in:
Neale Pickett 2017-11-10 01:19:15 +00:00
parent b0a79c9406
commit 04012252f6
1 changed files with 37 additions and 37 deletions

View File

@ -7,7 +7,7 @@ HTMLCollection.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
NodeList.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
function Terminal(target, bps) {
bps = bps || 1200;
bps = bps || 9600;
var outq = [];
var outTimer;
@ -66,7 +66,7 @@ function Terminal(target, bps) {
function start() {
if (! outTimer) {
outTimer = setInterval(drawElement, 75);
outTimer = setInterval(drawElement, 25);
}
}