From bf60ce7d75949a8d6d53473d3b2430c162f5f897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 4 Sep 2014 22:44:53 +0200 Subject: Skip modes with common prefix if it does not match --- vis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vis.h') 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 */ -- cgit v1.2.3