Skip to content

Commit 78b7d91

Browse files
committed
tab with spaces
1 parent b57138c commit 78b7d91

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
@@ -872,7 +872,7 @@ void consolePrintChar(int c) {
872872
break;
873873

874874
case 9:
875-
currentConsole->cursorX += currentConsole->tabSize - ((currentConsole->cursorX)%(currentConsole->tabSize));
875+
for(int i=0; i<currentConsole->tabSize; i++) consolePrintChar(' ');
876876
break;
877877
case 10:
878878
newRow();

0 commit comments

Comments
 (0)