feat: enable customization of the preview window

This commit is contained in:
benex
2024-11-19 14:05:53 +03:00
parent 9ce5bc3c76
commit 53a2d953f8
2 changed files with 16 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ def format_bytes_to_human(num_of_bytes: float, suffix: str = "B"):
return f"{num_of_bytes:.1f}Yi{suffix}"
def get_true_fg(string: str, r: int, g: int, b: int, bold: bool = True) -> str:
def get_true_fg(string: str, r, g, b, bold: bool = True) -> str:
"""Custom helper function that enables colored text in the terminal
Args: