mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2025-01-30 10:27:38 -08:00
added replay button
This commit is contained in:
parent
38c46e4f20
commit
74adb643a4
3
ani-cli
3
ani-cli
@ -298,6 +298,7 @@ while :; do
|
||||
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_magenta%s$c_reset\n" "r" "replay current 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
|
||||
@ -316,6 +317,8 @@ while :; do
|
||||
[ "$episode" -eq "$episode" ] 2>/dev/null || die "Invalid number entered"
|
||||
;;
|
||||
|
||||
r) ;;
|
||||
|
||||
q)
|
||||
break;;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user