aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 1921ba08bcf80167a4cdea32c15e5d607b4122a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# red

R-editor

## How to build & use

1. Download
   [raylib5](https://github.com/raysan5/raylib/releases#release-5.5)
   and extract tarball somewhere
2. `make RAYLIB_PREFIX=/path/to/raylib`
3. `./red <file>`
4. Ctrl+s to save

## Something not implemented (yet)

- Scroll
- Handling when the cursor goes off the screen because a line is too
  long

## Something implemented

- mmap-based fast loading and rendering
- lazy allocation when modifying each line