diff --git a/sys/winnt/nttty.c b/sys/winnt/nttty.c index 292617881..3dca82969 100644 --- a/sys/winnt/nttty.c +++ b/sys/winnt/nttty.c @@ -418,6 +418,12 @@ char c; { DWORD count; + switch(c) { + case '\n': + case '\r': + cmov(ttyDisplay->curx, ttyDisplay->cury); + return; + } if (colorchange) { SetConsoleTextAttribute(hConOut, (currentcolor | currenthilite | currentbackground));