jmacdonald / amp

A complete text editor for your terminal.

Home Page:https://amp.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

editor is confused when opening files with Windows line endings on Linux

bmaxa opened this issue · comments

I tried opening header file wich beggins with multilne comment (/* */)
and editor is totally confused.
vectormath_trig.zip

Ah, finally figured out what is the problem. AMP chokes on Windows line endings, \xd\0a when I used
dos2unix everything go normal.

I have to add that I am using Linux, on Windows, probably not a problem as Windows handles \xd\xa.