mirror of https://github.com/dirtbags/moth.git
speed up terminal rendering
This commit is contained in:
parent
6902af3db0
commit
e076672f82
|
@ -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