[BUG] extra white space added to the end of text line output -  2.1.112 (Claude Code)

Resolved 💬 2 comments Opened Jun 15, 2026 by NullModel Closed Jun 18, 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?

In the command line interface on Mac OSX - when it displays a small snippet of code - there is an immense amount of white space at the end of the line. Makes a real mess out of copy and paste.

What Should Happen?

Stop outputting white space at the end of text output that is completely useless.

Error Messages/Logs

Steps to Reproduce

Ask it to output a simple bash shell script of any sort.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.112 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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