about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-02-18 23:46:06 -0500
committerJune McEnroe <june@causal.agency>2022-02-18 23:47:11 -0500
commit1a2477ef7a34cc24c7bc18d7b6326643ce0995a2 (patch)
tree3b61b975ac5abc34bd6513c23486293c9f93b60f /Makefile
parentSimplify cursor positioning in input (diff)
downloadcatgirl-1a2477ef7a34cc24c7bc18d7b6326643ce0995a2.tar.gz
catgirl-1a2477ef7a34cc24c7bc18d7b6326643ce0995a2.zip
Implement new line editing "library"
Losing tab complete and text macros, for now.

This new implementation works on an instance of a struct and does
not interact with the rest of catgirl, making it possible to copy
into another project. Unlike existing line editing libraries, this
one is entirely abstract and can be rendered externally.

My goal with this library is to be able to implement vi mode. Since
it operates on struct instances rather than globals, it might also
be possible to give catgirl separate line editing buffers for each
window, which would be a nice UX improvement.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 83ead95..9e6392b 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ all: catgirl
 catgirl: ${OBJS}
 	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
 
-${OBJS}: chat.h
+${OBJS}: chat.h edit.h
 
 tags: *.[ch]
 	ctags -w *.[ch]