[Bug] Input Paste Triggers Unintended Console Line Breaks

Resolved 💬 3 comments Opened Sep 2, 2025 by Para-FR Closed Sep 5, 2025

Bug Description
Issue Report: Line Break Duplication in Claude Code Input
Problem Summary:
When pasting multi-line text from terminal into Claude Code's input textarea (within the same terminal session), each subsequent character typed triggers an unexpected line break in the console above.
Reproduction Steps:

Copy multi-line content from terminal
Paste into Claude Code input field in the same terminal session
Type any character
Observe: Each typed character causes a new line break to appear in the upper console

Expected Behavior:
Text input should not affect console display formatting
Actual Behavior:
Console adds unwanted line breaks with each keystroke after pasting multi-line content
Impact:
Disrupts visual interface and console readability during code input

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.100
  • Feedback ID: 0c86cdb0-36fe-4a76-b48c-8cbe102c7a0f

Errors

[{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:490:14)\n    at Socket.emit (node:events:524:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)","timestamp":"2025-09-02T03:59:08.434Z"}]

View original on GitHub ↗

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