summaryrefslogtreecommitdiff
path: root/rt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rt.lua')
-rw-r--r--rt.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/rt.lua b/rt.lua
index c234415..e195272 100644
--- a/rt.lua
+++ b/rt.lua
@@ -759,6 +759,17 @@ function rt.dbl_right_click_menu()
rt.open_option_info(menu.options[pos])
end
+function rt.search_dbl_click_menu()
+ local line = osd.mstate.option_line
+ if line >= -1 then
+ return
+ end
+
+ state.depth = state.depth + line + 1
+ osd:dirty()
+ input.set_mapping('MENU')
+end
+
function rt.reload_data()
if state.depth > 1 then
osd:flash_error('Can only reload data from root menu')