Skip to content
Snippets Groups Projects
Commit 520dc3a6 authored by echicken's avatar echicken
Browse files

Pass the mouse_getkey return value to menu instead of just the 'key'

value. Tree should handle this now.
parent 294ddfc8
Branches
Tags
No related merge requests found
......@@ -140,7 +140,7 @@ function main() {
switch (state) {
case STATE_MENU:
if (!menu) menu = new Menu();
menu.getcmd(userInput.key);
menu.getcmd(userInput);
if (state != STATE_MENU) {
menu.close();
menu = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment