From bd6d89c4e3bce42754139f7e284b1eab376116d2 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Mon, 12 May 2025 15:14:06 -0400 Subject: [PATCH] Update make_box --- hwmonDaemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hwmonDaemon.py b/hwmonDaemon.py index 896d17c..dac92ce 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -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}