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:
committed by
Luca Boccassi
parent
084ecae56f
commit
bb69ec9507
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user