dissect: grey out trailing slash in --list output

Given this is just auxiliary info, let's make it a tiny bit less visible
then the main part of the path.
This commit is contained in:
Lennart Poettering
2022-11-08 21:35:34 +01:00
committed by Luca Boccassi
parent 084ecae56f
commit bb69ec9507
+1 -1
View File
@@ -722,7 +722,7 @@ static int list_print_item(
assert_se(path);
if (event == RECURSE_DIR_ENTER)
printf("%s/\n", path);
printf("%s%s/%s\n", path, ansi_grey(), ansi_normal());
else if (event == RECURSE_DIR_ENTRY)
printf("%s\n", path);