mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 08:04:45 +02:00
console: only flush once, not with every message
This commit is contained in:
parent
e8a80c6a20
commit
887e48aeb3
@ -212,9 +212,10 @@ var Console = (function () {
|
||||
|
||||
if (terminalQueue.length > 0) {
|
||||
for (var i = 0; i < CONSOLE_PUSH_COUNT && terminalQueue.length > 0; i++) {
|
||||
terminal.echo(terminalQueue[0]);
|
||||
terminal.echo(terminalQueue[0], {flush: false});
|
||||
terminalQueue.shift();
|
||||
}
|
||||
terminal.flush()
|
||||
|
||||
// Show
|
||||
if (!terminal.is_bottom()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user