-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Ctrl-D to exit like bash, Use Ctrl-C to cancel input #127
Comments
Currenly, this program detect input and if input is exit, it will exit. However, it limit its usage. which make it even cannot be a translator:
I suggest give up the function |
Well, did you check the big prompt option?
It can be improved, of course. Instead of using the cat command, there is some things you can do to use bash readline with read command. My chatgpt.sh wrapper is probably too code-spaghetty to be readable but multiline input can be implemented in various ways. |
I'm not sure if i'm using the option properly but when asking chatgpt it tells me the same thing that option isn't properly "mapped". chatgpt Yes, there is a bug in the script. The bug is in the section where the script checks for the --big-prompt option. The |
TIA!
The text was updated successfully, but these errors were encountered: