Don't ever send plain whitespace a search pattern
parent
ea3d96e7ed
commit
a31b83c5ca
|
@ -735,7 +735,7 @@ async def fill_results(
|
||||||
text = bar.text()
|
text = bar.text()
|
||||||
# print(f'search: {text}')
|
# print(f'search: {text}')
|
||||||
|
|
||||||
if not text:
|
if not text or text.isspace():
|
||||||
# print('idling')
|
# print('idling')
|
||||||
_search_active = trio.Event()
|
_search_active = trio.Event()
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue