Skip to content

Commit 0bfaa02

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 76370b5 commit 0bfaa02

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
@@ -511,7 +511,8 @@ def init(
511511
finally:
512512
pass
513513

514-
console.print(tracker.render())
514+
if _transient:
515+
console.print(tracker.render())
515516
console.print("\n[bold green]Project ready.[/bold green]")
516517

517518
agent_config = AGENT_CONFIG.get(selected_ai)

0 commit comments

Comments
 (0)