$ make
$ make run
sledit
requires a terminal with ANSI-style control sequences.
When run, it expects the terminal to be in "raw mode" with echo off. make run
sets this "raw mode" up for you.
- Ctrl-C exits the editor
- Ctrl-L prints entire buffer
- Backspace deletes backward
- Delete deletes forward
- Up and Down moves between lines
- Right and Left moves forward and backward one character
- Ctrl-Right and Ctrl-Left moves one word
- Home and End goes to start and end of line