CR = Carriage Return = ‘\r’
LF = Line Feed = ‘\n’
Linux and Mac use LF ‘\n’
Windows uses CRLF ‘\r\n’
Just set windows to use CRLF.
newline - Difference between CR LF, LF and CR line break types? - Stack Overflow
How to set default line endings in Visual Studio Code? - Stack Overflow