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: theme selector crashes when filtering produces no results #8873
The theme selector dialog crashes with a TypeError when typing characters during theme search that produce no matching results.
[17:02:02] [ERROR] Error: undefined is not an object (evaluating 'opt.value')
TypeError: undefined is not an object (evaluating 'opt.value')
at onMove (src/cli/cmd/tui/component/dialog-theme-list.tsx:26:17)
at moveTo (src/cli/cmd/tui/ui/dialog-select.tsx:83:11)
at <anonymous> (src/cli/cmd/tui/ui/dialog-select.tsx:65:9)
This is because the .value property is accessed on an undefined.
Plugins
N/A
OpenCode version
1.1.23
Steps to reproduce
Open the theme selector in opencode.
Start typing a theme name which is not listed, I typed sonokai.
When typing the letter n for sonokai, the application errors, and prints out error logs in the console.
Activity
github-actions commentedon Jan 16, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
fix(tui): prevent crash when theme filter returns no results (anomaly…
renormalize commentedon Feb 3, 2026
#10488 reports the same issue and has been closed now with a fix pushed into dev.