Commit e8838002 authored by Deucе's avatar Deucе 👌🏾
Browse files

Use the new console.flush() method.

This speeds up the display immensely without distracting artifacts
(yay!)
parent 515ae400
......@@ -264,6 +264,7 @@ else {
w('\x1b_SyncTERM:P;Paste;SX='+(pos.x - 4)+';SY='+(pos.y - 4)+';SW='+(imgdim.width + 8)+';SH='+(imgdim.height + 8)+';DX='+(pos.x - 4)+';DY='+(pos.y - 4)+';MBUF;MY=64\x1b\\');
remain = 10; // Minimum wait... will likely be longer though.
while (console.output_buffer_level) {
console.flush();
mswait(1);
remain--;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment