Search when ENTER is pressed on the search field.

This commit is contained in:
Diego Martínez
2016-11-29 16:45:59 -03:00
committed by Diego Martínez
parent be00ffe913
commit 2ea417fad0
2 changed files with 4 additions and 1 deletions

View File

@ -182,6 +182,8 @@ function unified_inventory.get_formspec(player, page)
n = n+1
-- Search box
formspec[n] = "field_close_on_enter[searchbox;false]"
n = n+1
if not draw_lite_mode then
formspec[n] = "field[9.5,8.325;3,1;searchbox;;"