Skip to content

fix(deps): patch @clack/core to fix Windows TUI freeze#68

Closed
christso wants to merge 1 commit intomainfrom
fix/clack-windows-raw-mode
Closed

fix(deps): patch @clack/core to fix Windows TUI freeze#68
christso wants to merge 1 commit intomainfrom
fix/clack-windows-raw-mode

Conversation

@christso
Copy link
Contributor

@christso christso commented Feb 3, 2026

Summary

  • Patches @clack/core@1.0.0 to remove the Windows-specific guard that skips restoring stdin from raw mode in the block() function (used by spinners)
  • On Windows, block() cleanup intentionally skips setRawMode(false), leaving stdin stuck in raw mode after every spinner stop. This causes the TUI to freeze after repeated spinner usage as keypresses are consumed as raw data.
  • This is the same fix as upstream bombshell-dev/clack PR #424 (open since Nov 2025)

Upstream references

Test plan

  • All 480 tests pass
  • Verify on Windows: TUI no longer freezes after spinner usage (status view, install, sync)
  • Verify Ctrl+C works after spinner stops on Windows

🤖 Generated with Claude Code

The block() function in @clack/core intentionally skips restoring
stdin from raw mode on Windows, leaving it stuck after spinner
stop(). This causes the TUI to freeze after repeated spinner usage
as keypresses are consumed as raw data instead of generating proper
events.

Upstream: bombshell-dev/clack#408, PR bombshell-dev/clack#424

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: fd7386a
Status: ✅  Deploy successful!
Preview URL: https://d942e76a.allagents.pages.dev
Branch Preview URL: https://fix-clack-windows-raw-mode.allagents.pages.dev

View logs

@christso christso closed this Feb 4, 2026
@christso christso deleted the fix/clack-windows-raw-mode branch February 5, 2026 05:28
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