Update make_box

This commit is contained in:
2025-05-12 15:14:06 -04:00
parent 2a6025f5f2
commit bd6d89c4e3

View File

@ -394,7 +394,8 @@ class SystemHealthMonitor:
return drive_details
def make_box(title: str, content: str) -> str:
def make_box(self, title: str, content: str, content_width: int = 70) -> str:
"""Create a formatted box with title and content."""
return f"""
┏━ {title} {'' * (content_width - len(title) - 3)}
{content}