mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Add line under green text
This commit is contained in:
parent
ac8140fbac
commit
33f59410cd
@ -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
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user