mirror of
https://github.com/0xacx/chatGPT-shell-cli.git
synced 2024-11-24 11:25:31 +00:00
Allow input editing
This commit is contained in:
parent
e90748a630
commit
6244388c57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user