Skip to content

Commit

Permalink
Spaces are fixed in no nerd fonts mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jasursadikov committed Sep 11, 2024
1 parent 7b556b5 commit 4198415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ def _get_branch_status(path: str) -> str:
@staticmethod
def _print_process_header(path: str, command: str, failed: bool, code: int):
path = f'{BKG_BLACK}{Runner._get_formatted_path(path)}{RESET}'
command = f'{BKG_WHITE}{BLACK}{utils.GLYPHS[")"]} {utils.GLYPHS["terminal"]} {BOLD}{command} {RESET}{WHITE}{RESET}'
code = f'{WHITE}{BKG_RED if failed else BKG_GREEN}{utils.GLYPHS[")"]}{BRIGHT_WHITE} {utils.GLYPHS["failed"] if failed else utils.GLYPHS["finished"]} {f"Code: {BOLD}{code}" if failed else ""} {RESET}{RED if failed else GREEN}{utils.GLYPHS[")"]}{RESET}'
command = f'{BKG_WHITE}{BLACK}{utils.GLYPHS[")"]}{utils.GLYPHS["space"]}{utils.GLYPHS["terminal"]}{utils.GLYPHS["space"]}{BOLD}{command} {RESET}{WHITE}{RESET}'
code = f'{WHITE}{BKG_RED if failed else BKG_GREEN}{utils.GLYPHS[")"]}{BRIGHT_WHITE}{utils.GLYPHS["space"]}{utils.GLYPHS["failed"] if failed else utils.GLYPHS["finished"]} {f"Code: {BOLD}{code}" if failed else ""}{utils.GLYPHS["space"]}{RESET}{RED if failed else GREEN}{utils.GLYPHS[")"]}{RESET}'
print(f'{path} {command}{code}')

@staticmethod
Expand Down

0 comments on commit 4198415

Please sign in to comment.