mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
feat: Add optional text param to Spinner.step
This commit is contained in:
parent
04cbe87caa
commit
2bc9386876
1 changed files with 4 additions and 1 deletions
|
@ -332,7 +332,10 @@ class Spinner:
|
|||
Spinner.last_frame_idx = self.frame_idx # Update class variable
|
||||
return frame
|
||||
|
||||
def step(self) -> None:
|
||||
def step(self, text: str = None) -> None:
|
||||
if text is not None:
|
||||
self.text = text
|
||||
|
||||
if not self.is_tty:
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue