pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.92k stars 544 forks source link

Bugged menu when using `-c` #422

Closed Derisis13 closed 2 years ago

Derisis13 commented 2 years ago

Metadata (please complete the following information) Version: 1.4.1 OS: Pop!_OS 21.10 Shell: bash Anime: Anything I try

Describe the bug Menu in loop is broken when starting the script with -c. It doesn't reset on n, p or r but does go away on any other option. Regular search mode is OK as far as I have seen.

Steps To Reproduce

  1. Run ani-cli -c with a non-empty history
  2. Choose any anime
  3. Broken menu is displayed

Expected behavior Options previous episode and replay episode should be instead of the error messages.

Screenshots (if applicable) image

Additional context Probably a variable is not set that is being checked, but that's just a guess...

Rafaeruo commented 2 years ago

Introduced in 7fd16374fca464b4b4aa723828c5ba05aa46dc60

71zenith commented 2 years ago

I'll try to look into it

71zenith commented 2 years ago

Found the problem, opening a pr