[apps/code] ConsoleController: refreshOutput is now done only when the

console is active
This commit is contained in:
Émilie Feral
2020-03-30 14:29:23 +02:00
parent 574eacb69c
commit 81284120af

View File

@@ -446,8 +446,7 @@ void ConsoleController::printText(const char * text, size_t length) {
assert(textCutIndex == length - 1);
appendTextToOutputAccumulationBuffer(text, length-1);
flushOutputAccumulationBufferToStore();
// FIXME: This needs to be done *only* if the console is active!
//micropython_port_vm_hook_refresh_print();
micropython_port_vm_hook_refresh_print();
}
#if __EMSCRIPTEN__
/* If we called micropython_port_interrupt_if_needed here, we would need to