[BUG] Emacs integration: line wrapping breaks in AskUserQuestion option selection widget (claude-code-ide.el)
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?
When Claude Code presents a multi-option selection (via the AskUserQuestion tool), line wrapping stops working in the Emacs buffer. Text extends past the right edge of the window and I have to type blind when entering custom input at that point.
Normal free-text input at the top-level user prompt wraps correctly. The issue is
specific to the option selection widget.
What Should Happen?
Line wrapping should work consistently in the option selection widget, matching the behavior of the normal input prompt.
Error Messages/Logs
Steps to Reproduce
## Steps to Reproduce
- Trigger a response from Claude that uses AskUserQuestion with multiple options
(e.g., "Yes", "Yes and ...", "No")
- Observe that the option text and any subsequent input in that widget does not
wrap at the window edge
- Compare with normal user prompt input, which wraps correctly
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
@anthropic-ai/claude-code: 2.1.49 - wrapped Anthropic version || @apple/claude-code: 0.0.128 - ✅ latest version
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Other
Additional Information
Environment
- Emacs version: GNU Emacs 30.0.93 (aarch64-apple-darwin24.2.0)
- claude-code-ide.el integration (0.2.6)
- macOS (Darwin 24.6.0)
- Terminal or GUI frame: VTerm
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗