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
## Bug: TUI freezes for 8-9 seconds in WSL2 with ble.sh #11145
OpenCode TUI freezes for 8-9 seconds at random intervals. The terminal window remains responsive but text content stops updating. This happens during normal usage while the agent is working.
What works fine in the same environment
Claude Code — no freezes
Codex — no freezes
Both use the same terminal, same shell, same ble.sh configuration.
bleopt highlight_filename=
bleopt highlight_variable=
bleopt complete_auto_delay=300
bleopt complete_polling_cycle=100
bleopt complete_auto_history=
bleopt syntax_eval_polling_interval=100
bleopt highlight_timeout_sync=300
bleopt highlight_timeout_async=3000
bleopt highlight_eval_word_limit=100
Suspicion
OpenCode's TUI rendering may have an incompatibility with ble.sh's input handling. Since Claude Code and Codex work fine, this appears to be specific to OpenCode's terminal/TUI implementation.Related issues- #731 (Critical Stability Issues: App Freezing & Hanging Analysis)- #96 on ble.sh repo (WSL2 input delay — confirmed NOT caused by ble.sh itself)### PluginsNo### OpenCode version1.1.42### Steps to reproduce_No response_### Screenshot and/or share link_No response_### Operating SystemUbuntu 24.04 on WSL2 (kernel 6.6.87.2-microsoft-standard-WSL2)### TerminalWindows Terminal
This issue might be a duplicate of existing issues. Please check:
TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129) #5361: TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129) - This is a known WSL2-specific regression identified back in v1.0.129 with the opentui update. It reports the exact same symptom of periodic 2-10 second freezes on WSL2.
Feel free to ignore if your case involves specific differences, but #5361 appears to be the primary tracking issue for the WSL2 TUI freezing regression.
@FAL1989 Could you try workarounds in the "Summary" section of the top comment in akinomyoga/ble.sh#96? Also, to narrow down the cause, could you tell us whether setting bleopt complete_auto_complete= changes anything in the situation?
Just dropping a data point here~
I experienced the exact same TUI freeze (input buffered) on WSL2 + AMD Ryzen 5 5500. WinDbg analysis of the crash dump revealed that Node.js v25.8's JIT generated SIGILL (illegal instruction), causing the kernel to crash and restart.
Downgrading to Node.js v22 LTS resolved the issue completely, and the wsl-crashes folder no longer generates 6GB dump files!
More details in #18132 – hope this helps! (ノ◕ヮ◕)ノ*:・゚✧
Activity
github-actions commentedon Jan 29, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if your case involves specific differences, but #5361 appears to be the primary tracking issue for the WSL2 TUI freezing regression.
akinomyoga commentedon Jan 30, 2026
This might also be related to akinomyoga/ble.sh#96.
@FAL1989 Could you try workarounds in the "Summary" section of the top comment in akinomyoga/ble.sh#96? Also, to narrow down the cause, could you tell us whether setting
bleopt complete_auto_complete=changes anything in the situation?BHQM-123 commentedon Mar 18, 2026
Just dropping a data point here~
I experienced the exact same TUI freeze (input buffered) on WSL2 + AMD Ryzen 5 5500. WinDbg analysis of the crash dump revealed that Node.js v25.8's JIT generated SIGILL (illegal instruction), causing the kernel to crash and restart.
Downgrading to Node.js v22 LTS resolved the issue completely, and the wsl-crashes folder no longer generates 6GB dump files!
More details in #18132 – hope this helps! (ノ◕ヮ◕)ノ*:・゚✧
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.