[BUG] Typing "/context" auto-selects "/compact" instead and pressing enter launches the compact function..
Resolved 💬 6 comments Opened Jan 17, 2026 by alessandroavenali Closed Feb 28, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Typing "/context" auto-selects "/compact" instead and pressing enter launches the compact function..
What Should Happen?
"/context" should be selected and executed upon pressing enter.
Error Messages/Logs
Steps to Reproduce
Type "/context" in the prompt line
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.9
Claude Code Version
2.1.11
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
<img width="1135" height="148" alt="Image" src="https://github.com/user-attachments/assets/c4fb7fe2-c905-4168-a5ac-d5211cb1d37d" />
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗