mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

Set '\r\n' for windows to '\n' #275

Closed mingsxs closed 3 years ago

mingsxs commented 3 years ago

Hi,

I have to say wsltty is an amazing terminal tool in windows, but I am seeing annoying trouble regarding the newline character.

I am forced to use WSL since I have to use windows desktop but I only know how to develop with Linux, when I use vim for coding, I found there are always ^M on my edited lines, as well known, this means the line feed is abnormal which is '\r\n' and I hate them. Can I switch back to '\r' like a real normal linux? Thanks.

mingsxs commented 3 years ago

Hi, I am sorry, after some testing, I find out this probably is related to git instead of the terminal, sorry for causing confusion here, I am closing this issue ticket now.

Biswa96 commented 3 years ago

I am forced to use WSL

Never seen this awkward situation 😨