about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-02-20 17:16:21 -0500
committerJune McEnroe <june@causal.agency>2022-02-20 17:16:21 -0500
commitc929a696eb8a1902a740a19f8f22c745df0cf953 (patch)
tree0ee7b3cb7e58401d3161e7cd01cdd179fdf3a368
parentSave input buffer contents (diff)
downloadcatgirl-c929a696eb8a1902a740a19f8f22c745df0cf953.tar.gz
catgirl-c929a696eb8a1902a740a19f8f22c745df0cf953.zip
Clean up unimplemented editing mode stuff
Diffstat (limited to '')
-rw-r--r--edit.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/edit.h b/edit.h
index 957d3e3..db0d416 100644
--- a/edit.h
+++ b/edit.h
@@ -29,7 +29,7 @@
 #include <stddef.h>
 
 enum EditMode {
-	EditEmacs,
+	EditInsert,
 };
 
 struct Edit {
@@ -63,9 +63,6 @@ enum EditFn {
 // Perform an editing function.
 int editFn(struct Edit *e, enum EditFn fn);
 
-// Perform a vi-mode editing function.
-int editVi(struct Edit *e, wchar_t ch);
-
 // Insert a character at the cursor.
 int editInsert(struct Edit *e, wchar_t ch);