[BUG] claude starts outputing windows new line stuff recently
Resolved 💬 6 comments Opened Dec 21, 2025 by u011 Closed Feb 14, 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?
on macos and linux, claude started wirting files with wrong new line character (CLRF) which fail
\r \n
What Should Happen?
correct new line character generated
Error Messages/Logs
Steps to Reproduce
Just use it, idk how to force. I set version there it worked, but perhaps relates to model.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
v2.0.60
Claude Code Version
v2.0.75
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗