You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI hangs with blank screen on startup (regression in v1.17.1) #32560
opencode (TUI mode) opens a blank terminal screen and hangs. The terminal enters the alternate screen buffer but never renders content. Ctrl-C exits cleanly.
opencode run "<message>" works — only TUI mode is affected. Starting from outside a project directory (e.g. $HOME) also works.
Bisect
Version
TUI startup
1.16.2
OK
1.17.0
OK
1.17.1
HANG
1.17.7
HANG
Sample
sample of the hung process shows ~99.6% of samples in kevent64 from the TUI event loop. Not CPU-bound — waiting for an event that never arrives.
1693 kevent64 (in libsystem_kernel.dylib) + 8
Environment
macOS ARM64
opencode 1.17.7 (Homebrew)
Reproduces with --pure and with MCP disabled in project config
Shell: zsh
Reproduction
cd /path/to/any-project-with-agents-md
opencode
# → blank TUI, hangs# Ctrl-C to exit# Compare: run mode works
opencode run "hello"
Additional notes
--print-logs --log-level DEBUG produces no log output during the hang — the TUI stalls before logging initializes.
Duplicate of #32361 — same blank-TUI hang, same terminal-capability freeze before logging, same works fine. Adding macOS + 1.17.1 bisect data over there.
Activity
github-actions commentedon Jun 16, 2026
This issue might be a duplicate of an existing issue. Please check:
opencode runworking while TUI hangs, same observation that--print-logsproduces no output before the hang.gschambers commentedon Jun 16, 2026
Duplicate of #32361 — same blank-TUI hang, same terminal-capability freeze before logging, same works fine. Adding macOS + 1.17.1 bisect data over there.