Feature Request: Interactive Retry Prompt on Invalid Anime Search
Current Behavior
When a user enters an incorrect or partial anime title, ani-cli exits immediately with:
This requires the user to restart ani-cli manually to retry the search.
Example:
$ ani-cli
Search anime: onepiec
No results found!
Proposed Improvement
Instead of exiting immediately, allow users to retry the search interactively when no results are found.
Example flow:
$ ani-cli
Search anime: onepiec
No results found for "onepiec".
Tip: Try alternate spellings or press Ctrl+C to exit.
Search anime: one piece
Suggested Scope (v1)
Limit this behavior to the initial anime search query only.
This keeps the feature simple and avoids affecting:
- episode selection flows
- continue-watching logic
- other interactive menus
Important Considerations
Non-interactive Usage
The retry prompt should only activate when stdin is interactive (TTY).
For scripted/piped usage, current behavior should remain unchanged to avoid breaking automation.
Example:
Exit Path
Users should still be able to exit easily via:
Ctrl+C
- optional retry limit (if preferred by maintainers)
UI Consistency
If possible, behavior should remain consistent across:
- plain terminal mode
fzf
rofi
Why This Helps
- Improves UX for typos and romanization differences
- Reduces restart friction
- Matches common CLI interaction patterns
- Makes searching feel smoother and more forgiving
Notes
This is intended as a UX enhancement, not a bug/crash fix.
The command currently exits cleanly — this proposal only aims to improve the retry experience.
Feature Request: Interactive Retry Prompt on Invalid Anime Search
Current Behavior
When a user enters an incorrect or partial anime title,
ani-cliexits immediately with:No results found!This requires the user to restart
ani-climanually to retry the search.Example:
$ ani-cli Search anime: onepiec No results found!Proposed Improvement
Instead of exiting immediately, allow users to retry the search interactively when no results are found.
Example flow:
Suggested Scope (v1)
Limit this behavior to the initial anime search query only.
This keeps the feature simple and avoids affecting:
Important Considerations
Non-interactive Usage
The retry prompt should only activate when stdin is interactive (TTY).
For scripted/piped usage, current behavior should remain unchanged to avoid breaking automation.
Example:
[ -t 0 ]Exit Path
Users should still be able to exit easily via:
Ctrl+CUI Consistency
If possible, behavior should remain consistent across:
fzfrofiWhy This Helps
Notes
This is intended as a UX enhancement, not a bug/crash fix.
The command currently exits cleanly — this proposal only aims to improve the retry experience.