Skip to content

Commit

Permalink
Faster drawing. #3 cpburnz/python-pathspec#38
Browse files Browse the repository at this point in the history
  • Loading branch information
excitoon committed Aug 28, 2022
1 parent 9daa882 commit 7679fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3
Original file line number Diff line number Diff line change
Expand Up @@ -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 " "
Expand Down

0 comments on commit 7679fc1

Please sign in to comment.