shell: Flush output on paste

This commit is contained in:
Remko Tronçon 2022-06-10 20:00:18 +02:00
parent 744320055d
commit e896b5d7bc

View file

@ -96,7 +96,8 @@ function startConsole() {
inputbuffer = []; inputbuffer = [];
} }
if (newInputBuffer.length > 0) { if (newInputBuffer.length > 0) {
output(newInputBuffer.join("")); output(newInputBuffer.join(""), true);
flush();
} }
inputbuffer = newInputBuffer; inputbuffer = newInputBuffer;
}); });