Skip to content

Commit 7aec345

Browse files
mnriemCopilot
andcommitted
fix: skip duplicate tracker print on Windows when transient=False
When transient is False, Rich leaves the Live output on screen. The subsequent console.print(tracker.render()) would duplicate it. Gate it behind _transient so Windows users see the tracker exactly once. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a1d86ad commit 7aec345

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/specify_cli/commands/init.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,8 @@ def init(
656656
finally:
657657
pass
658658

659-
console.print(tracker.render())
659+
if _transient:
660+
console.print(tracker.render())
660661
console.print("\n[bold green]Project ready.[/bold green]")
661662

662663
agent_config = AGENT_CONFIG.get(selected_ai)

0 commit comments

Comments
 (0)