From e58fd33fe07f67b47d658b0df63dcfbe7bcdd1eb Mon Sep 17 00:00:00 2001 From: Benexl Date: Fri, 4 Jul 2025 16:44:58 +0300 Subject: [PATCH] feat: allow going back on empty search term when using fzf anilist search --- fastanime/libs/fzf/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fastanime/libs/fzf/__init__.py b/fastanime/libs/fzf/__init__.py index ac975b2..f7673db 100644 --- a/fastanime/libs/fzf/__init__.py +++ b/fastanime/libs/fzf/__init__.py @@ -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()