From cdfbba10ecd559e95d9fdc82a63e70f1d67c8697 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Thu, 9 Nov 2017 01:02:04 +0100 Subject: [PATCH] minor searchbox change --- tabs/search/frame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/search/frame.lua b/tabs/search/frame.lua index 8f90d7c..a1c44c8 100644 --- a/tabs/search/frame.lua +++ b/tabs/search/frame.lua @@ -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()