Now printing '\n' on the srv-1 will send "\r\n" so it behaves as expected

rather than having to explicitly send '\r'.


git-svn-id: http://picoc.googlecode.com/svn/trunk@343 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2009-10-22 20:14:47 +00:00
parent d5811d37d5
commit 968fc12e69

View file

@ -34,6 +34,9 @@ char *PlatformGetLine(char *Buf, int MaxLen)
/* write a character to the console */
void PlatformPutc(unsigned char OutCh, union OutputStreamInfo *Stream)
{
if (OutCh == '\n')
putchar('\r');
putchar(OutCh);
}