diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-05-03 22:22:12 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-05-03 22:28:20 +1000 |
| commit | 7325ad216cbecb0d14fdee40cef7cca3e39f8513 (patch) | |
| tree | ad23b0afd3ad24fbf8bde23bcd4bba426d52a046 /src/keys.hh | |
| parent | c2637f08d95b03fbe6db5b0f98b28c2a54fd4126 (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.hh | 1 |
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 { |
