Skip to content

Slash command autocomplete selection jumps randomly when navigating #7814

Closed

Description

@kitlangton

Autocomplete selection jumps erratically when pressing up/down arrows and sometimes starts at the wrong position.

Reproduction

  1. Start a session (send any message)
  2. Type / to open autocomplete
  3. Navigate with arrow keys and watch the highlighted row jump around spasmodically

Only happens with an active session, which adds /undo, /redo, etc. to the list. I also have the EXA MCP server configured, which adds additional slash commands and may be necessary for reproducing the issue.

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 11, 2026
  2. github-actions commented on Jan 11, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Both issues describe selection/highlighting problems in opentui menus where the wrong item gets highlighted. This could be a related or underlying issue with the menu selection logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions