search now tells u theres no result lol

This commit is contained in:
UndeadMaelys 2022-03-22 16:42:14 +01:00
parent c7a0d66512
commit 7a45b10fd2

View File

@ -13,6 +13,10 @@ return function(query)
table.insert(results_table,word)
end
end
results_table = adjustTableSizes(results_table)
printOutputTable(results_table)
if #results_table ~= 0 then
results_table = adjustTableSizes(results_table)
printOutputTable(results_table)
else
print("no words found for <" .. query .. ">")
end
end