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 crashes when resizing terminal window (Windows / CMD) #7943
When running OpenCode in TUI mode on Windows, the application crashes immediately when the terminal window is resized (by dragging the window edge).
This happens consistently and makes the TUI unusable whenever the terminal size changes.
To Reproduce
Steps to reproduce the behavior:
Open Command Prompt (CMD) on Windows,run opencode
Start OpenCode TUI
While the TUI is running, resize the CMD window (drag to change width or height),The application crashes immediately.
Expected behavior
The TUI should handle terminal resize events gracefully and continue running, with the layout reflowing or redrawing correctly.
Environment
OS: Windows
Terminal: Command Prompt (CMD)
OpenCode version: 1.1.13
Installation method: npm
Plugins
oh-my-opencode
OpenCode version
1.1.13
Steps to reproduce
Open Command Prompt (CMD) on Windows,run opencode
Start OpenCode TUI
While the TUI is running, resize the CMD window (drag to change width or height),The application crashes immediately.
Activity
github-actions commentedon Jan 12, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
kommander commentedon Jan 13, 2026
Does it work vanilla, without OmO?
CodeNewbie88 commentedon Jan 14, 2026
It cannot work properly; this issue already existed before I installed OmO.
missaved commentedon Jan 21, 2026
环境补充:Windows(管理员权限)。
终端:CMD 和 PowerShell 都会复现。
行为:TUI 运行中调整窗口大小会立即崩溃。
版本:1.1.27。
github-actions commentedon Mar 28, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
kommander commentedon Mar 28, 2026
cc @simonklee