Command selector incorrectly highlights /modern-git when typing /model

Resolved 💬 3 comments Opened Jan 19, 2026 by amihos Closed Jan 19, 2026

Bug Description

When using the / command selector to find and run a command, typing /model incorrectly highlights and remains focused on /modern-git instead of filtering to show the /model command option.

Steps to Reproduce

  1. Open Claude Code
  2. Type / to open the command selector
  3. Type model to search for the /model command (set AI model)
  4. Expected: The selector should highlight /model as the matching command
  5. Actual: The selector stays highlighted on /modern-git instead

Expected Behavior

The command selector should correctly filter and highlight commands that match the typed text. When typing /model, only /model should be shown as a match and highlighted.

Actual Behavior

The command selector incorrectly keeps /modern-git highlighted despite it not matching the search term /model. This makes it difficult to select the correct command when similar command names exist.

Environment

  • Claude Code Version: v2.1.12
  • Model: Haiku 4.5
  • OS: Windows

Screenshots

[See attached screenshot showing /model typed but /modern-git highlighted]

Additional Context

This appears to be a fuzzy search or filtering logic issue in the command selector. Commands with "mod" in the name (like /modern-git and /model) may have fuzzy matching that's not working correctly, or the highlighting/focus is not being updated properly after the filter is applied.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗