Clean up unimplemented editing mode stuff

weechat-hashes
June McEnroe 2022-02-20 17:16:21 -05:00
parent 78ff548b93
commit c929a696eb
1 changed files with 1 additions and 4 deletions

5
edit.h
View File

@ -29,7 +29,7 @@
#include <stddef.h> #include <stddef.h>
enum EditMode { enum EditMode {
EditEmacs, EditInsert,
}; };
struct Edit { struct Edit {
@ -63,9 +63,6 @@ enum EditFn {
// Perform an editing function. // Perform an editing function.
int editFn(struct Edit *e, enum EditFn fn); 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. // Insert a character at the cursor.
int editInsert(struct Edit *e, wchar_t ch); int editInsert(struct Edit *e, wchar_t ch);