[FEATURE] Enable Claude Code to emit long lines to iTerm2 without breaks
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When Claude Code is run in an iTerm2 window, it sometimes needs to emit long lines that the user can copy and paste into another terminal window. Even if specifically asked, it does not currently know how to do so. I am doing this on a Mac and do not know if the same problem occurs on other platforms.
Proposed Solution
Give Claude Code the capability of emitting long (unbroken) lines when asked, that can be copied.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
Any time Claude is asked to emit a command that the user would type in another window, where that command is long. Here is a stupid example:
Please exhibit a shell command that echoes the prime numbers < 500.
Include the numbers in the command.
Make this command copyable so it can be directly pasted into another iTerm2 window.
On a window of width 100 characters, it can't do it.
Additional Context
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗