summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mixlib/mix_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mixlib/mix_device.c b/mixlib/mix_device.c
index 30fee7e..2e68f03 100644
--- a/mixlib/mix_device.c
+++ b/mixlib/mix_device.c
@@ -161,6 +161,8 @@ mix_device_write (mix_device_t *dev, const mix_word_t *block)
block, SIZES_[dev->type]);
if (result && mix_device_mode(dev) == mix_dev_CHAR)
putc ('\n', mix_io_to_FILE (GET_CHANNEL_ (dev)));
+
+ fflush (mix_io_to_FILE (GET_CHANNEL_ (dev)));
return result;
}