style: Apply formatting

This commit is contained in:
Paul Gauthier (aider) 2025-05-09 06:57:23 -07:00
parent df967e4b41
commit 766a41d5de

View file

@ -356,7 +356,7 @@ class Spinner:
# Determine the maximum width for the spinner line
# Subtract 2 as requested, to leave a margin or prevent cursor wrapping issues
max_spinner_width = self.console.width - 2
if max_spinner_width < 0: # Handle extremely narrow terminals
if max_spinner_width < 0: # Handle extremely narrow terminals
max_spinner_width = 0
current_text_payload = f" {self.text}"