mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Color un-highlighted directory to dark red
This commit is contained in:
parent
bb7451a8f4
commit
5027577dd7
@ -157,6 +157,8 @@ void showDirectoryContents (const vector<DirEntry>& dirContents, int fileOffset,
|
||||
iprintf ("\x1b[%d;0H", i + ENTRIES_START_ROW);
|
||||
if ((fileOffset - startRow) == i) {
|
||||
printf ("\x1B[47m"); // Print foreground white color
|
||||
} else if (entry->isDirectory) {
|
||||
printf ("\x1B[31m"); // Print background red color
|
||||
} else {
|
||||
printf ("\x1B[40m"); // Print foreground black color
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user