mirror of https://github.com/dirtbags/moth.git
speed up terminal rendering
This commit is contained in:
parent
b0a79c9406
commit
04012252f6
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue