summaryrefslogtreecommitdiff
path: root/internal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'internal.lua')
-rw-r--r--internal.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal.lua b/internal.lua
index f143355..5732971 100644
--- a/internal.lua
+++ b/internal.lua
@@ -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;;"