mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 19:02:14 +02:00
fix print \n twice
This commit is contained in:
parent
ccfb1fd4d2
commit
bcd26d361c
@ -625,6 +625,7 @@ void consolePrintChar(int c) {
|
||||
if(currentConsole->cursorX >= currentConsole->windowWidth) {
|
||||
currentConsole->cursorX = 0;
|
||||
|
||||
if (c != '\n')
|
||||
consoleNewRow();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user