Skip to content

Skip the progress bar when there's no terminal - #301

Merged
joetannenbaum merged 1 commit into
nextfrom
remove-progress-bar-when-not-tty
Aug 13, 2026
Merged

Skip the progress bar when there's no terminal#301
joetannenbaum merged 1 commit into
nextfrom
remove-progress-bar-when-not-tty

Conversation

@joetannenbaum

Copy link
Copy Markdown
Collaborator

Laravel Prompts draws the progress bar whether or not anything is there to see it, and it re-measures the terminal on every frame by forking stty. Since this command usually runs from Vite, that was a forked process per generated file.

The bar still renders as before when the output is a real terminal.

@joetannenbaum
joetannenbaum merged commit 824aa48 into next Aug 13, 2026
11 checks passed
@joetannenbaum
joetannenbaum deleted the remove-progress-bar-when-not-tty branch August 13, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant