[BUG] Security prompt adds ellipsis when terminal too narrow

Resolved 💬 3 comments Opened May 19, 2026 by ielia Closed May 23, 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?

With thin terminals (I've tested it at about 70 characters wide) the security prompt shows an ellipsis at the end of the line when the user tries to add some extra specification to those "yes"/"no" options, making it impossible to read what the user types after that.

What Should Happen?

Security prompt should not add ellipsis but rather wrap input around just like it does in wider terminals.

Error Messages/Logs

Steps to Reproduce

  1. Open a thin terminal (40-characters wide would be enough).
  2. Open claude CLI.
  3. Prompt something so that it pops the security prompt up.
  4. Start typing some extra specification and go past the end of the line.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.81 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗