mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-06-30 18:16:36 -07:00
feat: allow going back on empty search term when using fzf anilist search
This commit is contained in:
@@ -232,11 +232,7 @@ class FZF:
|
||||
if not result or result.returncode != 0 or not result.stdout:
|
||||
if result.returncode == 130: # fzf terminated by ctrl-c
|
||||
exit_app()
|
||||
|
||||
print("sth went wrong :confused:")
|
||||
input("press enter to try again...")
|
||||
clear()
|
||||
clear()
|
||||
return ""
|
||||
|
||||
return result.stdout.strip().split("|")[0].strip()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user