[Bug] Auto-complete incorrectly selects "compact" option when typing "/context"

Status Fixed / completed
Reported on v2.1.11
Maintainer reply None cached
Activity 8 comments · opened Jan 17, 2026 · closed Feb 2, 2026

<img width="1115" height="181" alt="Image" src="https://github.com/user-attachments/assets/411966b5-e266-423c-9d8c-180c118630df" />

Bug Description
Bug in Version: 2.1.11: While typing command "/context", option compact gets selected. Refer the attached screenshot.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.11
  • Feedback ID: 104424cf-c40d-450a-b56d-78edbbb05956

Errors

[]

View original on GitHub ↗

8 Comments

github-actions[bot] · 7 months ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/17816
  2. https://github.com/anthropics/claude-code/issues/11431

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

rubrical-worker · 7 months ago
BetaQuasi · 7 months ago

Reproducible on Linux as well, both 2.1.11 and 2.1.12 - earlier versions are fine.

mleguen · 7 months ago

Similar issue on linux: typing "/clear" selects "/compact" too, as reported on https://github.com/anthropics/claude-code/issues/18899 too.

Yaakov-Belch · 7 months ago

@github-actions: Please do not close active bug reports because of a suspicion that this is a duplicate without pointing to a report that is not suspected of being a duplicate itself.

Mahrkeenerh · 7 months ago

I've already had this issue some time ago, then it got resolved, and now it's re-introduced again, so +1

(2.1.12 on linux for me)

ggarg2510 · 6 months ago

Closing the issue as its fixed in v2.1.29 (Haven't checked in previous than this)

github-actions[bot] · 6 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.