Skip to content

Commit b57138c

Browse files
committed
backspace: last column is windowWidth, not windowX
1 parent ad8c151 commit b57138c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libctru/source/console.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ void consolePrintChar(int c) {
861861

862862
if(currentConsole->cursorX < 1) {
863863
if(currentConsole->cursorY > 1) {
864-
currentConsole->cursorX = currentConsole->windowX;
864+
currentConsole->cursorX = currentConsole->windowWidth;
865865
currentConsole->cursorY--;
866866
} else {
867867
currentConsole->cursorX = 1;

0 commit comments

Comments
 (0)