Skip to content

Commit

Permalink
feat: allow pasting to start search
Browse files Browse the repository at this point in the history
closes #767
  • Loading branch information
tomasklaen committed Nov 4, 2023
1 parent 8d2dfc4 commit 37675d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/uosc/elements/Menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,9 @@ function Menu:paste()
else
menu.on_paste(payload)
end
elseif menu.search_style ~= 'disabled' then
self:search_start(menu)
self:search_query_update(payload, menu)
end
end

Expand Down

0 comments on commit 37675d0

Please # to comment.