{"version":"2.1.296","anchor":"file-read-output-keeps-crlf-line-endings","canonical_anchor":"file-read-output-keeps-crlf-line-endings","heading":"Trailing Windows-style line breaks are trimmed cleanly","tier":"notice","area":"Windows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296\/e\/file-read-output-keeps-crlf-line-endings","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.296","markdown":"### Trailing Windows-style line breaks are trimmed cleanly\n\nWhen trimming a final line break, Claude Code now removes a whole Windows-style line ending instead of leaving a stray character\n\n**What**\n\nWindows files usually end lines with two characters, a carriage return then a newline, while other systems use just the newline. When Claude Code trims a single trailing line break from some text, it now checks which kind is there and removes the whole thing. Before, it only removed the newline, so Windows-style text could keep a stray carriage return at the end.\n\n**Why**\n\nText from Windows-style files no longer ends with a hidden leftover character.\n\n- Area: Windows\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}