From bb69ec9507f30a2f18eb59f4f01420756aa69f0a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 4 Nov 2022 18:29:58 +0100 Subject: 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. --- src/dissect/dissect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dissect') diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c index b30144ec2e..7014e9ad86 100644 --- a/src/dissect/dissect.c +++ b/src/dissect/dissect.c @@ -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); -- cgit v1.2.1