mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
Update ani-cli
This commit is contained in:
parent
986d5613d5
commit
e01a38a8dd
10
ani-cli
10
ani-cli
@ -289,6 +289,7 @@ while :; do
|
||||
printf "\n${c_green}Currently playing %s episode ${c_cyan}%d/%d\n" "$selection_id" $episode $last_ep_number
|
||||
printf "$c_blue[${c_cyan}%s$c_blue] $c_yellow%s$c_reset\n" "n" "next episode"
|
||||
printf "$c_blue[${c_cyan}%s$c_blue] $c_magenta%s$c_reset\n" "p" "previous episode"
|
||||
printf "$c_blue[${c_cyan}%s$c_blue] $c_yellow%s$c_reset\n" "s" "select episode"
|
||||
printf "$c_blue[${c_cyan}%s$c_blue] $c_red%s$c_reset\n" "q" "exit"
|
||||
printf "${c_blue}Enter choice:${c_green} "
|
||||
read choice
|
||||
@ -300,8 +301,15 @@ while :; do
|
||||
p)
|
||||
episode=$((episode - 1))
|
||||
;;
|
||||
q)
|
||||
|
||||
s) printf "${c_blue}Choose episode $c_cyan[1-%d]$c_reset:$c_green " $last_ep_number
|
||||
read episode
|
||||
printf "$c_reset"
|
||||
;;
|
||||
|
||||
q)
|
||||
break;;
|
||||
|
||||
*)
|
||||
die "invalid choice"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user