aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-04 22:44:53 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-04 22:44:53 +0200
commitbf60ce7d75949a8d6d53473d3b2430c162f5f897 (patch)
tree0ade285ba44ee4b0a705898619a5658102a967dd /vis.h
parent33812921a2294637e4635d5b8426fc47f69a05a5 (diff)
downloadvis-bf60ce7d75949a8d6d53473d3b2430c162f5f897.tar.gz
vis-bf60ce7d75949a8d6d53473d3b2430c162f5f897.tar.xz
Skip modes with common prefix if it does not match
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index c3f81c3..6d6972c 100644
--- a/vis.h
+++ b/vis.h
@@ -75,6 +75,7 @@ struct Mode {
Mode *parent;
KeyBinding *bindings;
const char *name;
+ bool common_prefix;
void (*enter)(void);
void (*leave)(void);
bool (*unknown)(Key *key0, Key *key1); /* unknown key for this mode, return value determines whether parent modes will be checked */