Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1kulya committed Jan 16, 2025
1 parent 8289539 commit be9324b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def gradient_color(self, text: str, start_color: tuple, end_color: tuple) -> str
g = int(start_color[1] + (end_color[1] - start_color[1]) * i / len(text))
b = int(start_color[2] + (end_color[2] - start_color[2]) * i / len(text))
result += f"\033[38;2;{r};{g};{b}m{char}"
result += "\033[0m"
return result

def format_time_ago(self, delta: timedelta) -> str:
Expand Down

0 comments on commit be9324b

Please sign in to comment.