minor searchbox change

This commit is contained in:
Manuel Simon Hirsig
2017-11-09 01:02:04 +01:00
parent 828d5f38d7
commit cdfbba10ec
+1 -1
View File
@@ -163,7 +163,7 @@ do
return queries and join(map(copy(queries), function(query) return query.prettified end), ';') or color.red(str)
end
editbox.complete = completion.complete_filter
editbox.focus_loss = function() this:SetText(get_current_search().filter_string or '') end
editbox.escape = function() this:SetText(get_current_search().filter_string or '') end
editbox:SetHeight(25)
editbox.char = function()
this:complete()