runtime: only use CRLF on baremetal systems

We should only do this on baremetal systems, not on Linux, macOS, and
Windows. In fact, Windows will convert LF into CRLF in its putchar
function.
Этот коммит содержится в:
Ayke van Laethem 2021-11-05 19:05:22 +01:00 коммит произвёл Ron Evans
родитель 73ab44c178
коммит 41bcad9c19

Просмотреть файл

@ -273,7 +273,9 @@ func printspace() {
}
func printnl() {
putchar('\r')
if baremetal {
putchar('\r')
}
putchar('\n')
}