Enter key doesn't submit prompt when @ autocomplete has no matches #5334

Open
opened 2026-02-16 17:51:29 -05:00 by yindo · 0 comments
Owner

Originally created by @wanghanzhen on GitHub (Jan 13, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When typing @ followed by text that doesn't match any files, pressing Enter doesn't submit the prompt.

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. Run bun dev
  2. Type @username (any text that doesn't match existing files)
  3. Press Enter
  4. Observe: Nothing happens, autocomplete shows "No matching items"
  5. Press Enter again
  6. Observe: Nothing happens

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @wanghanzhen on GitHub (Jan 13, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When typing `@` followed by text that doesn't match any files, pressing Enter doesn't submit the prompt. ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce 1. Run `bun dev` 2. Type `@username` (any text that doesn't match existing files) 3. Press Enter 4. Observe: Nothing happens, autocomplete shows "No matching items" 5. Press Enter again 6. Observe: Nothing happens ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:51:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5334