Update make_box
This commit is contained in:
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user