Add line under green text

This commit is contained in:
RocketRobz 2018-10-15 23:01:48 -06:00
parent ac8140fbac
commit 33f59410cd
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -125,6 +125,8 @@ void showDirectoryContents (const vector<DirEntry>& 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 {