A recent output mode change was causing the
\n and \r characters to be visible on the display.
This commit is contained in:
nethack.allison
2003-08-23 14:49:12 +00:00
parent ad32b89874
commit b210dc8965

View File

@@ -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));