opencode
opencode copied to clipboard
OpenTUI: Opening a chat with a file path breaks OpenCode
Description
OpenCode version
1.0.10
Steps to reproduce
Paste a file path into the text box. After sending the message, nothing happens.
Things work fine if the file path is prepended with some text, but if you paste in only a file path, opencode will break.
This issue might be a duplicate of existing issues. Please check:
- #3624: Similar file path handling issues in OpenTUI where pasting file paths doesn't work properly and affects keyboard navigation
Feel free to ignore if none of these address your specific case.
this is because we're interpreting it as a slash command, will fix
should be fixed now
should be fixed now
Can the same be done for paths referenced with @ too? Currently, it detects as a normal string.