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