Line editing with linenoise.

https://github.com/antirez/linenoise
https://todo.sr.ht/~sforman/thun-der/33
This commit is contained in:
Simon Forman
2023-02-20 10:20:40 -08:00
parent d8263e0527
commit b32a3f2496
5 changed files with 1309 additions and 21 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
OBJS=joy.o keywords.o definitions.o
OBJS=joy.o keywords.o definitions.o linenoise.o
LDFLAGS=-L/usr/local/lib -lgc -lgmp
@@ -42,3 +42,6 @@ keywords.c: KEYWORDS.txt
clean:
rm -vf *.o joy KEYWORDS.txt
linenoise.o: linenoise.c linenoise.h
cc -c linenoise.c -o linenoise.o