Skip to content

Commit

Permalink
fix: reset colors for #12
Browse files Browse the repository at this point in the history
  • Loading branch information
epogrebnyak committed Feb 28, 2024
1 parent 6f8cae5 commit c538e94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion justpath/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pathlib import Path
from typing import Annotated, Type

from colorama import Fore
from colorama import Fore, Style
from typer import Option, Typer


Expand Down Expand Up @@ -139,6 +139,8 @@ def show(
print(modifier + str(row.path))
else:
print_row(row, color, path_var.max_digits)
if color:
print(Style.RESET_ALL)


def modify_rows(
Expand Down

0 comments on commit c538e94

Please sign in to comment.