mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: Run linter and apply fixes
This commit is contained in:
parent
62dc55dd77
commit
15317a9f4b
1 changed files with 2 additions and 1 deletions
|
@ -322,7 +322,7 @@ class Spinner:
|
|||
num_backspaces = chars_in_content_after_scanner + 1
|
||||
|
||||
num_backspaces = max(0, num_backspaces) # Ensure not negative
|
||||
sys.stdout.write('\b' * num_backspaces)
|
||||
sys.stdout.write("\b" * num_backspaces)
|
||||
|
||||
sys.stdout.flush() # Flush after all writes for this frame
|
||||
|
||||
|
@ -335,6 +335,7 @@ class Spinner:
|
|||
elif self.scanner_pos <= 0: # Reached or passed the beginning
|
||||
self.scanner_pos = 0 # Pin to start
|
||||
self.scanner_dir = 1 # Reverse direction
|
||||
|
||||
def end(self):
|
||||
if self.visible and self.is_tty:
|
||||
clear_len = len(self.text) + 1 + self.animation_len # text + space + animation segment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue