mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[apps/code] ConsoleController: refreshOutput is now done only when the
console is active
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user