Simple full screen text editor that runs on the Windows command window or Linux terminal window.
ESC : exit from the editor (prompts for saving changes, if file changed)
CTRL-S : save (prompts for a file name if file name is empty)
ENTER : enter line
CURSOR KEYS : moving the cursor
PAGE UP/DOWN : move page up or down
HOME/END : move to start/end of the line
CTRL-HOME or F3 : move to the start of the document
CTRL-END or F4 : move to the end of the document
BACKSPACE : delete a character from the left of the cursor
DELETE : delete a character from the right of the cursor
CTRL-Y : delete current line
sted/Main.cm |
class | Editor |
class | Screen |
int | main(int argc, const char** argv) |
public enum | State |