nttty
A recent output mode change was causing the \n and \r characters to be visible on the display.
This commit is contained in:
@@ -418,6 +418,12 @@ char c;
|
|||||||
{
|
{
|
||||||
DWORD count;
|
DWORD count;
|
||||||
|
|
||||||
|
switch(c) {
|
||||||
|
case '\n':
|
||||||
|
case '\r':
|
||||||
|
cmov(ttyDisplay->curx, ttyDisplay->cury);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (colorchange) {
|
if (colorchange) {
|
||||||
SetConsoleTextAttribute(hConOut,
|
SetConsoleTextAttribute(hConOut,
|
||||||
(currentcolor | currenthilite | currentbackground));
|
(currentcolor | currenthilite | currentbackground));
|
||||||
|
|||||||
Reference in New Issue
Block a user