diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-04 22:44:53 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-04 22:44:53 +0200 |
| commit | bf60ce7d75949a8d6d53473d3b2430c162f5f897 (patch) | |
| tree | 0ade285ba44ee4b0a705898619a5658102a967dd /vis.h | |
| parent | 33812921a2294637e4635d5b8426fc47f69a05a5 (diff) | |
| download | vis-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |
