console.lua: exit when left clicking outside of selectable items

This commit is contained in:
Guido Cella 2024-10-21 21:33:50 +02:00 committed by Kacper Michajłow
parent 1edc02174f
commit 0dc2e85ff8
1 changed files with 2 additions and 0 deletions

View File

@ -830,6 +830,8 @@ local function bind_mouse()
if item then if item then
selected_match = item selected_match = item
handle_enter() handle_enter()
else
set_active(false)
end end
end) end)
end end