NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Nev – keyboard focused GUI and terminal text editor (github.com)
benj111 6 days ago [-]
"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.

Nimaoth 6 days ago [-]
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
politelemon 6 days ago [-]
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.
SeriousM 6 days ago [-]
Wow, ok, that looks like vscode in the console, isn't it?
Nimaoth 6 days ago [-]
Author here, it definitely has some inspirations from vs code, but I would describe it more like Neovim or Helix, but with a native GUI version and a some things builtin which are plugins in e.g Neovim
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 08:06:11 GMT+0000 (Coordinated Universal Time) with Vercel.