claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

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

Open ggarg2510 opened this issue 10 months ago • 4 comments

Image

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

[]

ggarg2510 avatar Jan 17 '26 05:01 ggarg2510

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

github-actions[bot] avatar Jan 17 '26 05:01 github-actions[bot]

Reproducible on Windows per https://github.com/anthropics/claude-code/issues/18888

rubrical-worker avatar Jan 17 '26 21:01 rubrical-worker

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

BetaQuasi avatar Jan 18 '26 07:01 BetaQuasi

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

mleguen avatar Jan 18 '26 20:01 mleguen

@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.

Yaakov-Belch avatar Jan 19 '26 15:01 Yaakov-Belch

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)

Mahrkeenerh avatar Jan 20 '26 10:01 Mahrkeenerh

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

ggarg2510 avatar Feb 02 '26 16:02 ggarg2510

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.

github-actions[bot] avatar Feb 10 '26 14:02 github-actions[bot]