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
Slash-prefixed input gets stuck on "No matching items" instead of sending plain text #37010
When typing into the chat input, if the first character is /, OpenCode treats it as a command/function trigger. If the entered text does not match any available slash command, the UI shows No matching items and blocks normal text sending behavior.
Expected behavior: when / does not match any command/function option, the input should be treated as plain text, and pressing Enter should send the message normally.
Steps to reproduce
Focus the chat input box.
Type a string that starts with / but is not a valid slash command, for example: /tmp/test
or /abc
Observe that the dropdown shows No matching items.
Press Enter.
Actual behavior
The input is interpreted as a slash-command search state, shows No matching items, and does not fall back to normal text sending behavior.
Expected behavior
If the input starting with / does not match any slash command or function option, it should be handled as normal text input.
Pressing Enter should send the original text message as typed.
Example
Input: /tmp/test
Expected result:
The message /tmp/test is sent as plain text.
Actual result:
The UI shows No matching items, and the text cannot be sent normally.
Plugins
opencode-tui
OpenCode version
1.17.20
Steps to reproduce
Input: /tmp/test
Expected result:
The message /tmp/test is sent as plain text.
Actual result:
The UI shows No matching items, and the text cannot be sent normally.
This issue might be a duplicate of existing issues. Please check:
TUI blocks path input starting with / due to command matching #11965: Same root cause — TUI blocks path input starting with / because the slash triggers command autocomplete, shows "No matching items", and prevents submitting the input (this issue was closed but appears unresolved based on your report)
Activity
github-actions commentedon Jul 15, 2026
This issue might be a duplicate of existing issues. Please check:
/due to command matching #11965: Same root cause — TUI blocks path input starting with/because the slash triggers command autocomplete, shows "No matching items", and prevents submitting the input (this issue was closed but appears unresolved based on your report)/and pressing Enter; also involves the slash command parser not gracefully falling back to plain textgithub-actions commentedon Sep 15, 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.