tedit

tedit is a tiny line editor. it's just a challenge for me to see if i could do that lol.
it's really (not) easy to use.

tedit commands

so an example tedit session could look like this:


	a
	#include <stdio.h>
	g
	g?: 1
	a
	int main() {
	g
	g?: 2
	a
		printf("Hello, World!\n");
	g
	g?: 3
	a
		return 0;
	g
	g?: 4
	a
	}
	w
	w?: hello.c
	w -> hello.c
	q
				

tedit is also written in less than 30 lines of code (it doesn't mean that it's just 30 things it does. it's 30 lines of readable, compressed code.). you can get it here. there's also an obfuscated version available there.