Skip to content

Commit 5c17088

Browse files
committed
49 is default background color
1 parent 8b8c345 commit 5c17088

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
@@ -337,7 +337,7 @@ static void consoleSetColorState(int code)
337337
break;
338338
case 49: // reset background color
339339
escapeSeq.color.flags &= ~CONSOLE_BG_CUSTOM;
340-
escapeSeq.color.fg = 0;
340+
escapeSeq.color.bg = 0;
341341
break;
342342
case 90 ... 97: // bright foreground
343343
escapeSeq.color.flags &= ~CONSOLE_COLOR_FAINT;

0 commit comments

Comments
 (0)