prompts
prompts copied to clipboard
Spinner animation still happens with `--no-ansi` flag
Laravel Prompts Version
0.3.6
Laravel Version
11.44.2
PHP Version
8.4.12
Operating System & Version
macOS 15.6
Terminal Application
VSCode
Description
Spinner animation still happens with --no-ansi flag.
Example: This results in the animation spamming the console output.
⠋ Installing dependencies...
⠙ Installing dependencies...
⠹ Installing dependencies...
...and so on
It would be reasonable to assume --no-ansi would show static text and/or a static replacement icon.
Steps To Reproduce
Standard use of spin($callback, $message);.
You could reproduce this in GitHub Actions or if the command is run in a Laravel Forge deployment.
--ansior no flag provided: Users would expect the animation to occur. You would expect it to print as multiple lines in a CI/CD pipeline (animated)--no-ansi: Users would expect the spinner to be static text (not animated)