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.11k stars 157 forks source link

Multi-line input in interactive mode #69

Closed ciaran-matthew-dunne closed 1 year ago

ciaran-matthew-dunne commented 1 year ago

Currently, interactive mode only allows for single-line input. This can be inconvenient when working with longer prompts, especially when copy/pasting code blocks from a code editor. Therefore, I suggest considering allowing multi-line input in interactive mode, perhaps by a distinction between Enter and Shift+Enter.

I believe this enhancement would make the CLI more user-friendly. Thank you for your consideration.

Ciaran

camAtGitHub commented 1 year ago

Implemented here on this pull request: https://github.com/0xacx/chatGPT-shell-cli/pull/90 I tried to keep it simple with native tooling....