From 7679fc19334b0d8a758a8b4c5e6f0f0ced1ff80b Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Sun, 28 Aug 2022 10:37:56 +0300 Subject: [PATCH] Faster drawing. #3 cpburnz/python-path-specification#38 --- 3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3 b/3 index a5120f2..cf3f1b3 100755 --- a/3 +++ b/3 @@ -104,7 +104,7 @@ def process_path(path, prefix=""): itertools.chain(filter_path(path, prefix), [None]) ): sticks = "├──" if next else "└──" - print(f"{prefix}{sticks}", f"{apply_color(name, mode, is_link)}{link_suffix}") + print(f"{prefix}{sticks} {apply_color(name, mode, is_link)}{link_suffix}") if not is_link and is_dir: sticks = "│ " if next else " "