diff --git a/cli.py b/cli.py index 0666d74ba58..da2f32954ba 100644 --- a/cli.py +++ b/cli.py @@ -3669,7 +3669,7 @@ class HermesCLI: if self.show_timestamps: label = f"{label} {datetime.now().strftime('%H:%M')}" w = shutil.get_terminal_size().columns - fill = w - 2 - len(label) + fill = w - 2 - HermesCLI._status_bar_display_width(label) _cprint(f"\n{_ACCENT}╭─{label}{'─' * max(fill - 1, 0)}╮{_RST}") self._stream_buf += text @@ -10393,7 +10393,7 @@ class HermesCLI: label = " ⚕ Hermes " if self.show_timestamps: label = f"{label}{datetime.now().strftime('%H:%M')} " - fill = w - 2 - len(label) + fill = w - 2 - HermesCLI._status_bar_display_width(label) _cprint(f"\n{_ACCENT}╭─{label}{'─' * max(fill - 1, 0)}╮{_RST}") _cprint(f"{_STREAM_PAD}{sentence.rstrip()}")