http://kseti77xagomoqfzqnphxwhjjlfs2exj6b2fmr3sh6pk23tkcz5dseid.onion/git/mpv-scripts.git/commit/scripts/uosc/lib/menus.lua
. + menu = Menu:open({ + type = opts.type, + title = opts.title, + footnote = opts.footnote, + items = initial_items, + item_actions = actions, + item_actions_place = opts.actions_place, + selected_index = selected_index, + on_move = opts.on_move and 'callback' or nil, + on_paste = opts.on_paste and 'callback' or nil, + on_close = 'callback', + }, function(event) + if event.type == 'activate' then + if (event.action == 'move_up' or event.action == 'move_down') and opts.on_move...