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,9 +12,9 @@
|
|||
|
||||
void _sys_write_tty(char c)
|
||||
{
|
||||
cpm_conout(c);
|
||||
if (c == '\n')
|
||||
cpm_conout(c);
|
||||
cpm_conout('\r');
|
||||
cpm_conout(c);
|
||||
}
|
||||
|
||||
ssize_t write(int fd, void* buffer, size_t count)
|
||||
|
|
Loading…
Reference in a new issue