From 33f59410cd5373ad760e997b965f014909d6fa48 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Mon, 15 Oct 2018 23:01:48 -0600 Subject: [PATCH] Add line under green text --- arm9/source/driveMenu.cpp | 2 ++ arm9/source/file_browse.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arm9/source/driveMenu.cpp b/arm9/source/driveMenu.cpp index 5e21a3b..d7689e1 100644 --- a/arm9/source/driveMenu.cpp +++ b/arm9/source/driveMenu.cpp @@ -198,6 +198,8 @@ void driveMenu (void) { consoleInit(NULL, 0, BgType_Text4bpp, BgSize_T_256x256, 15, 0, true, true); printf ("\x1B[42m"); // Print green color + printf ("________________________________"); + printf ("\x1b[0;0H"); printf ("[root]"); printf ("\x1B[47m"); // Print foreground white color diff --git a/arm9/source/file_browse.cpp b/arm9/source/file_browse.cpp index 8569907..acc8a02 100644 --- a/arm9/source/file_browse.cpp +++ b/arm9/source/file_browse.cpp @@ -125,6 +125,8 @@ void showDirectoryContents (const vector& dirContents, int startRow) { // Print the path printf ("\x1B[42m"); // Print green color + printf ("________________________________"); + printf ("\x1b[0;0H"); if (strlen(path) < SCREEN_COLS) { iprintf ("%s", path); } else {