summaryrefslogtreecommitdiffstatshomepage
path: root/unix/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/main.c')
-rw-r--r--unix/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/main.c b/unix/main.c
index e7fce873b2..c305c37283 100644
--- a/unix/main.c
+++ b/unix/main.c
@@ -61,6 +61,7 @@ long heap_size = 1024*1024 * (sizeof(mp_uint_t) / 4);
STATIC void stderr_print_strn(void *env, const char *str, size_t len) {
(void)env;
ssize_t dummy = write(STDERR_FILENO, str, len);
+ mp_hal_dupterm_tx_strn(str, len);
(void)dummy;
}