From 887e48aeb3b89c9f6147df6991cece7c3526b8fa Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Sun, 19 Mar 2017 16:18:31 +0100 Subject: [PATCH] console: only flush once, not with every message --- public/themes/pterodactyl/js/frontend/console.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/themes/pterodactyl/js/frontend/console.js b/public/themes/pterodactyl/js/frontend/console.js index 33ffef60e..62d8c8119 100644 --- a/public/themes/pterodactyl/js/frontend/console.js +++ b/public/themes/pterodactyl/js/frontend/console.js @@ -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()) {