Hi Lars,
I got a bug that `send-string-to-termina` maybe send part of contents to
terminal, calling `fwrite` in loop to make sure all contents are written.
Please review the patch. Thank you.
B.R.Lin