diff --git a/ani-cli b/ani-cli index f98d87c5d..875fb60d7 100755 --- a/ani-cli +++ b/ani-cli @@ -1,6 +1,6 @@ #!/bin/sh -version_number="4.8.5" +version_number="4.8.6" # UI @@ -458,11 +458,11 @@ case "$search" in allanime_title="$(printf "%s" "$title" | cut -d'(' -f1 | tr -d '[:punct:]')" id=$(printf "%s" "$result" | cut -f1) ep_list=$(episodes_list "$id") - [ "$skip_intro" = 1 ] && mal_id="$(ani-skip -q "${skip_title:-${title}}")" [ -z "$ep_no" ] && ep_no=$(printf "%s" "$ep_list" | nth "Select episode: " "$multi_selection_flag") [ -z "$ep_no" ] && exit 1 ;; esac +[ "$skip_intro" = 1 ] && mal_id="$(ani-skip -q "${skip_title:-${title}}")" # moves the cursor up one line and clears that line tput cuu1 && tput el