Last sentence/line of response disappears in terminal output

Open 💬 1 comment Opened Jun 1, 2026 by zym526810358

Bug Description

The last sentence or line of Claude's response is consistently missing from the terminal output. The response appears to be cut off right before the final sentence/line is displayed.

Steps to Reproduce

  1. Start a Claude Code session
  2. Ask any question that produces a multi-sentence response
  3. Observe that the last sentence is missing from the output

Expected Behavior

Full response is displayed including the last sentence.

Actual Behavior

The last sentence disappears / is not rendered. Example:

Response shown in terminal: "...第一句话。第二句话。第三句(这里就没了"

The final sentence is cut off or completely missing.

Version Information

  • Confirmed affected: 2.1.150, 2.1.159
  • Installation method: npm install -g @anthropic-ai/claude-code

Environment

  • OS: macOS
  • Shell: zsh
  • Node version manager: nvm (node v22.22.1)

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗