18 points by archargelod 9 hours ago | 5 comments
- Showing a rich interactive tui like this to 15 year old me would have me convinced I was in a fever dream. It's amazing how far they have come. Seeing debugging is kind of blowing my mind.
- "without carriage return in line separators"
How have you implemented this? That is really trivial. Well compared to writing a text editor. I say this as the author of several failed text editors, so I'm not suggesting you lack the skills.
- Carriage returns get filtered out when loading files, so the in memory representation always only has line feeds. And when saving it just save the in memory representation (so UTF-8 and with line feeds). I haven't added support for saving it with the original encoding and line endings because I never needed it, but yeah that should be easy to add. But for the internal representation I would probably still only use line feeds because supporting carriage returns in there would make some things more complex