mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-06 03:12: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) {
|
if(currentConsole->cursorX >= currentConsole->windowWidth) {
|
||||||
currentConsole->cursorX = 0;
|
currentConsole->cursorX = 0;
|
||||||
|
|
||||||
consoleNewRow();
|
if (c != '\n')
|
||||||
|
consoleNewRow();
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(c) {
|
switch(c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user