0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.05k stars 151 forks source link

fix: multiline file prompt input #87

Closed tomas223 closed 1 year ago

tomas223 commented 1 year ago

Fixing issue:

0xacx commented 1 year ago

@tomas223 @rxaviers Thank you both for this. Finally, I merged it to master. The only thing I changed was to use the escape function that the script now has instead of the sed command for escaping special characters. My goal is to use the escape function globally in this script to have a consistent escaping behavior. Thank you for your work 🙏