I've noticed this strange issue on Windows (using the beta 4 and nightly).
I made this little test:
fn main() {
println!("Hello!");
println!("This is a simple test\n\rto check if the carriage\nreturn\nis working!");
}
As you can see I used a \n\r between "test" and "to check".
Now if I run the same executable under MSYS2 shell and normal Command Prompt shell I got two different results:
MSYS shell
Command Prompt shell
As you can see in MSYS shell the \n seems to be not translated in the right way, while surprisedly is managed in the right way (even without the \r) under Command Prompt shell.