Documentation

edit.line_endings

This option enables you to force the line endings to a specific format when editing text files. Possible values for this option is "crlf" for windows style line endings or "lf" for unix style line endings.

$moxieManagerConfig['edit.line_endings'] = "crlf";
<add key="edit.line_endings" value="crlf" />