Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(spin): if not a tty, only print title, do not open tty for stdin #763

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

caarlos0
Copy link
Member

bubbletea by default will try to open a tty for stdin, this makes it not do that if we're not on a terminal (e.g. docker build)

on the same token, simplify rendering in that case, printing only the title ("Loading..." by default).

closes #328

@caarlos0 caarlos0 self-assigned this Dec 11, 2024
@caarlos0 caarlos0 added bug Something isn't working cmd/spin labels Dec 11, 2024
@caarlos0 caarlos0 merged commit cf2da64 into main Dec 11, 2024
14 checks passed
@caarlos0 caarlos0 deleted the spin-tty-2 branch December 11, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cmd/spin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gum spin called when building an image fails
1 participant