Correctly emit \r\n when a \n is written to the console, instead of \n\n...
Fixes: #198
This commit is contained in:
parent
0ecad6c860
commit
c2f48772e9
|
@ -12,8 +12,8 @@
|
|||
|
||||
void _sys_write_tty(char c)
|
||||
{
|
||||
cpm_conout(c);
|
||||
if (c == '\n')
|
||||
cpm_conout('\r');
|
||||
cpm_conout(c);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue