mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
make yes default option autoplay prompt
This commit is contained in:
parent
870920cbf5
commit
8d6acddea6
3
ani-cli
3
ani-cli
@ -763,8 +763,9 @@ continue_watching() {
|
||||
-p "Continue watching?" -window-title 'aniwrapper' <<< "Yes|No")
|
||||
else
|
||||
inf "Continue watching $selection_id?"
|
||||
prompt "Next episode -> $((episode + 1)) [y/n]"
|
||||
prompt "Next episode -> $((episode + 1)) [Y/n]"
|
||||
read -r choice
|
||||
[ -z "$choice" ] && choice="y"
|
||||
fi
|
||||
|
||||
[[ "$choice" =~ ^(y|Y|Yes)$ ]] && return 0 || return 1
|
||||
|
Loading…
Reference in New Issue
Block a user