flush buffers on newline & screen clear
This commit is contained in:
parent
7e24c7766f
commit
2c0ae0784d
@ -121,6 +121,7 @@ static void consoleCls(char mode) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
gfxFlushBuffers();
|
||||
}
|
||||
//---------------------------------------------------------------------------------
|
||||
static void consoleClearLine(char mode) {
|
||||
@ -173,6 +174,7 @@ static void consoleClearLine(char mode) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
gfxFlushBuffers();
|
||||
}
|
||||
|
||||
|
||||
@ -605,6 +607,7 @@ static void newRow() {
|
||||
}
|
||||
|
||||
consoleClearLine('2');
|
||||
gfxFlushBuffers();
|
||||
}
|
||||
}
|
||||
//---------------------------------------------------------------------------------
|
||||
@ -718,6 +721,7 @@ void consolePrintChar(int c) {
|
||||
newRow();
|
||||
case 13:
|
||||
currentConsole->cursorX = 0;
|
||||
gfxFlushBuffers();
|
||||
break;
|
||||
default:
|
||||
consoleDrawChar(c);
|
||||
|
Loading…
Reference in New Issue
Block a user