SolarLune / masterplan

MasterPlan is a project management software / visual idea board software. It attempts to be easy to use, lightweight, and fun.
https://solarlune.itch.io/masterplan
512 stars 46 forks source link

Carriage return is visually represented when creating a note from a file #52

Closed sir-pinecone closed 3 years ago

sir-pinecone commented 3 years ago

I dragged a file with Windows line endings into the app and the task draws an underscore for the \r character. Stripping the carriage return is probably the right move, however in case you care, that will break old Mac text files which only use carriage returns and no line feed.

Similarly \a and \f appear as underscores. There may be others, I didn't do an exhaustive test.

SolarLune commented 3 years ago

The core issue of Windows carriage returns being represented by an underscore is resolved; I haven't done anything for other control characters like \a or \f, though, as it feels like I'd have to add quite a bit of code in the interim.

Thank you for your report!