From f120729c119f7040795b307c4d610e04ff7e3324 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Fri, 23 Sep 2016 20:29:13 +0200 Subject: [PATCH] slight autocomplete behavior change --- Postal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Postal.lua b/Postal.lua index 22df70f..99420c4 100644 --- a/Postal.lua +++ b/Postal.lua @@ -777,7 +777,7 @@ do end table.setn(matches, min(getn(matches), AUTOCOMPLETE_MAX_BUTTONS)) - if getn(matches) > 0 then + if getn(matches) > 0 and (getn(matches) > 1 or input ~= matches[1]) then for i = 1, AUTOCOMPLETE_MAX_BUTTONS do local button = getglobal('AutoCompleteButton' .. i) if i <= getn(matches) then