Skip to content

fix windows no-console hang and add windows CI build#270

Merged
daveshanley merged 4 commits into
mainfrom
fixes
May 16, 2026
Merged

fix windows no-console hang and add windows CI build#270
daveshanley merged 4 commits into
mainfrom
fixes

Conversation

@daveshanley
Copy link
Copy Markdown
Member

Avoid querying the terminal for background color when stdin/stderr are not TTYs, which previously caused the CLI to hang on Windows when launched with no attached console. Fall back to env-based dark-background detection in that case.

Add a Windows CI job and a subprocess regression test that runs the binary with CREATE_NO_WINDOW to guard against the hang. Switch both workflows to go-version-file with module caching and use go mod download instead of go get.

Bump pb33f/doctor to v0.0.65, promote charmbracelet/x/term to a direct dependency, and bump @pb33f/cowboy-components to 0.15.1 with rebuilt bundles.

Avoid querying the terminal for background color when stdin/stderr are not TTYs, which previously caused the CLI to hang on Windows when launched with no attached console. Fall back to env-based dark-background detection in that case.

Add a Windows CI job and a subprocess regression test that runs the binary with CREATE_NO_WINDOW to guard against the hang. Switch both workflows to go-version-file with module caching and use `go mod download` instead of `go get`.

Bump pb33f/doctor to v0.0.65, promote charmbracelet/x/term to a direct dependency, and bump @pb33f/cowboy-components to 0.15.1 with rebuilt bundles.
@blacksmith-sh

This comment has been minimized.

@daveshanley daveshanley merged commit 1fba952 into main May 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant