about summary refs log tree commit diff
path: root/edit.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-07 21:30:25 -0500
committerJune McEnroe <june@causal.agency>2020-02-07 21:39:56 -0500
commitfe5fd897052abd1909d1536056936a0417666459 (patch)
treee253d8786b633a0002b156b1da1d9d6eae320f6e /edit.c
parentUse define_key for meta keys (diff)
downloadcatgirl-fe5fd897052abd1909d1536056936a0417666459.tar.gz
catgirl-fe5fd897052abd1909d1536056936a0417666459.zip
Populate completion with commands
Diffstat (limited to '')
-rw-r--r--edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/edit.c b/edit.c
index b6edb98..0c50f33 100644
--- a/edit.c
+++ b/edit.c
@@ -73,6 +73,9 @@ void edit(size_t id, enum Edit op, wchar_t ch) {
 			reserve(pos, 1);
 			if (pos < Cap) buf[pos++] = ch;
 		}
+		break; case EditComplete: {
+			// TODO
+		}
 		break; case EditEnter: {
 			pos = 0;
 			command(id, editTail());