Allow input editing

This commit is contained in:
acx 2023-03-07 00:48:30 +02:00
parent e90748a630
commit 6244388c57

View File

@ -258,7 +258,7 @@ while $running; do
rm temp_image.png
else
echo "Would you like to open it? (Yes/No)"
read answer
read -e answer
if [ "$answer" == "Yes" ] || [ "$answer" == "yes" ] || [ "$answer" == "y" ] || [ "$answer" == "Y" ] || [ "$answer" == "ok" ]; then
open "${image_url}"
fi