zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.42k stars 1.16k forks source link

Make default `fileformat` value suited to the OS #3141

Closed dmaluka closed 4 months ago

dmaluka commented 4 months ago

Set the fileformat option by default to dos on Windows. See this discussion: https://github.com/zyedidia/micro/issues/2066#issuecomment-1914794075

Note that I haven't tested this on Windows, as I'm not using Windows. UPDATE: @sergeevabc has confirmed that it works as expected on Windows.