Skip to content

fix(choose)!: Rename environment variable GUM_CCHOOSE_TIMEOUT to GUM_CHOOSE_TIMEOUT#922

Merged
caarlos0 merged 1 commit intocharmbracelet:mainfrom
sadamczyk:fix-env-gum-choose-timeout-env-typo
Jun 14, 2025
Merged

fix(choose)!: Rename environment variable GUM_CCHOOSE_TIMEOUT to GUM_CHOOSE_TIMEOUT#922
caarlos0 merged 1 commit intocharmbracelet:mainfrom
sadamczyk:fix-env-gum-choose-timeout-env-typo

Conversation

@sadamczyk
Copy link
Copy Markdown
Contributor

Changes

  • BREAKING CHANGE: Rename environment variable GUM_CCHOOSE_TIMEOUT to GUM_CHOOSE_TIMEOUT

This fixes the typo in the environment variable name.
Technically a breaking change because the old environment variable won't work anymore.

Test

  • Run export GUM_CCHOOSE_TIMEOUT=1s
  • Run export GUM_CHOOSE_TIMEOUT=10s
  • Run gum choose 1 2 3 without this fix. It times out after 1 second.
  • Run gum choose 1 2 3 with this fix. It times out after 10 seconds.

@sadamczyk sadamczyk requested a review from a team as a code owner June 14, 2025 11:25
@sadamczyk sadamczyk requested review from bashbunni and removed request for a team June 14, 2025 11:25
@caarlos0 caarlos0 merged commit 501402c into charmbracelet:main Jun 14, 2025
8 checks passed
@caarlos0
Copy link
Copy Markdown
Contributor

thanks!

@sadamczyk sadamczyk deleted the fix-env-gum-choose-timeout-env-typo branch June 14, 2025 14:05
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.

3 participants