opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Edit tool messes with whitespace / line endings in Windows

Open twoloox-rao opened this issue 3 weeks ago • 2 comments

Description

System:

  • Windows 11 with Powershell and Git Bash
  • Opencode v1.0.207
  • CRLF line endings per default

Editing files with Opencode always messes with whitespace and line endings in files in Windows.

I understand that Opencode uses Git Bash by default, which potentially might be the cause of the issue. Unix line endings are LF, whereas windows/dos uses CRLF.

twoloox-rao avatar Dec 29 '25 11:12 twoloox-rao