aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-09-19 16:39:24 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-10-05 16:29:52 +0200
commitd638b9a1c3dc68accdc1f660851f0289b870c74d (patch)
treedbcde08d40de8c70ae95f0c4a17231bec1eae4fc /editor.h
parent1df795756fd12c47aaa6593c459ae846d2186af0 (diff)
downloadvis-d638b9a1c3dc68accdc1f660851f0289b870c74d.tar.gz
vis-d638b9a1c3dc68accdc1f660851f0289b870c74d.tar.xz
vis: remove now unused common_prefix mode attribute
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor.h b/editor.h
index 7719f3d..598cf0c 100644
--- a/editor.h
+++ b/editor.h
@@ -43,7 +43,6 @@ struct Mode {
KeyBinding *default_bindings;
const char *name; /* descriptive, user facing name of the mode */
bool isuser; /* whether this is a user or internal mode */
- bool common_prefix; /* whether the first key in this mode is always the same */
void (*enter)(Mode *old); /* called right before the mode becomes active */
void (*leave)(Mode *new); /* called right before the mode becomes inactive */
void (*input)(const char*, size_t); /* called whenever a key is not found in this mode and all its parent modes */