@ mention list: Up on the first item should wrap to the last

Feature request for product/service

Cursor IDE

Describe the request

When the @ mention candidate list is open, arrow-key navigation should wrap.

Up from the first item

  1. Focus the Agent or chat input.
  2. Type @ so the candidate list opens. The first item is selected.
  3. Press Up.

Expected: the selection moves to the last item.
Actual: the selection stays on the first item and does not move.

Down from the last item

  1. Focus the Agent or chat input.
  2. Type @ so the candidate list opens.
  3. Move the selection to the last item, then press Down.

Expected: the selection moves to the first item.
Actual: the selection stays on the last item and does not move.

Operating System (if it applies)

MacOS

Hey @cscs

I think this makes sense! We’ve merged a change for this that should make its way into the next release.