Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(OSX): Add flag to indicate if menu item is from key press or not (#…
…1044) __Issue:__ In Onivim, when pressing a keyboard shortcut for a menu item, the command gets triggered twice - once via the input handler, and once via the menu callback. From the menu callback, currently, we don't know whether this came from a keyboard command (which can be ignored, since the keyboard-input pipeline handles it), or if it came from a click / other gesture, in which case we should run it. __Fix:__ Add a flag to indicate if this callback is due to a keypress or not.
- Loading branch information