summaryrefslogtreecommitdiff
path: root/src/keys.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-05-03 22:22:12 +1000
committerMaxime Coste <mawww@kakoune.org>2018-05-03 22:28:20 +1000
commit7325ad216cbecb0d14fdee40cef7cca3e39f8513 (patch)
treead23b0afd3ad24fbf8bde23bcd4bba426d52a046 /src/keys.hh
parentc2637f08d95b03fbe6db5b0f98b28c2a54fd4126 (diff)
Add support for explicit menu selection from the UI
the JsonUI now supports a "menu_select(int)" RPC call that should trigger explicit selection of the provided item index. As discussed for issue #2019.
Diffstat (limited to 'src/keys.hh')
-rw-r--r--src/keys.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keys.hh b/src/keys.hh
index 9b632dcb..fa9549b8 100644
--- a/src/keys.hh
+++ b/src/keys.hh
@@ -30,6 +30,7 @@ struct Key
MouseWheelDown | MouseWheelUp,
Resize = 1 << 8,
+ MenuSelect = 1 << 9,
};
enum NamedKey : Codepoint
{