[BUG] Permission prompt renders `-n -e` artifact at bottom of terminal in VS Code integrated terminal
Resolved 💬 3 comments Opened Mar 10, 2026 by christinazheng Closed May 4, 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?
When Claude Code displays a permission prompt (e.g., "Do you want to proceed?"), an extra line -n -e followed by · Tab to amend is rendered below the normal Esc to cancel · Tab to amend footer. This appears to be a raw echo -n -e command leaking from the ink-based TUI renderer into the terminal output.
What Should Happen?
Expected behavior:
Only one footer line should appear:
Esc to cancel · Tab to amend
Actual behavior:
Two footer lines appear:
Esc to cancel · Tab to amend
-n -e · Tab to amend
Error Messages/Logs
Steps to Reproduce
- Open VS Code integrated terminal on macOS ARM64
- Run
claude - Trigger any action that shows a permission prompt (e.g., a tool that requires approval)
- Observe the
-n -eartifact below the prompt footer
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
v2.1.58 (also tested on latest after claude update)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
<img width="678" height="401" alt="Image" src="https://github.com/user-attachments/assets/0b63964b-2449-40f9-ba21-1d4c0f8bf38c" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗