allow 3 symbols for package search

This commit is contained in:
Evgenii Alekseev 2022-12-30 01:39:46 +02:00
parent effc120a43
commit afc488255c

View File

@ -72,7 +72,7 @@ class Remote(LazyLogging):
"""
instance = cls()
packages: Dict[str, AURPackage] = {}
for term in filter(lambda word: len(word) > 3, keywords):
for term in filter(lambda word: len(word) >= 3, keywords):
portion = instance.search(term, pacman=pacman)
packages = {
package.name: package # not mistake to group them by name