Skip to content

[BUG] Word wrap is broken: breaks mid-word instead of at word boundaries  #16624

@justin-zeno

Description

@justin-zeno

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Description

Text output in Claude Code is splitting words mid-character at the terminal edge instead of wrapping whole words to the next line.

Specific version where this broke appears to be 2.0.73. See below thread for screenshots showing that this was working in 2.0.72.

This bug is still present in 2.1.1 as of Jan 8 2026.

Expected behavior

Words wrap to the next line at word boundaries (spaces), keeping words intact.

Actual behavior

Words are split mid-character when they reach the terminal edge. For example, "not" becomes "no" at the end of one line and "t" at the start of the next.

Environment

  • macOS Terminal.app, Ghostty (Mac), Zed (Mac), Nova (Mac)
  • macOS version: 15.7.2
  • Claude Code version: 2.0.76, 2.1.1

Screenshots

Previously working:
Image

No longer working:
Image

Notes

This previously worked correctly. The issue appears to be a regression.

What Should Happen?

Words should wrap properly when they hit the right edge of the terminal window

Error Messages/Logs

Steps to Reproduce

  1. Open macOS Terminal.app
  2. Set terminal width to 140 columns
  3. Run claude
  4. Ask any question that produces a response longer than the terminal width
  5. Observe words being split mid-character at the right edge

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions