Disk: print if a folder removable; improve performance

This commit is contained in:
李通洲
2022-10-07 01:36:32 +08:00
parent 49921f5ed1
commit a7e93faac8
5 changed files with 19 additions and 8 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ static void printFolder(FFinstance* instance, FFDiskResult* folder)
if(instance->config.disk.outputFormat.length == 0)
{
ffPrintLogoAndKey(instance, key.chars, 0, NULL);
printf("%s / %s (%u%%)\n", usedPretty.chars, totalPretty.chars, percentage);
printf("%s / %s (%u%%)%s\n", usedPretty.chars, totalPretty.chars, percentage, folder->removable ? " [Removable]" : "");
}
else
{