Started as exam-period procrastination with raylib, gradually became something resembling a text editor. Not sure how far it'll go.
- Download raylib5 and extract tarball somewhere
make RAYLIB_PREFIX=/path/to/raylib./red <file>- Ctrl+s to save
- mmap-based fast loading and rendering
- lazy allocation when modifying each line
- Scroll
- Handling when the cursor goes off the screen because a line is too long