mirror of
https://github.com/0xacx/chatGPT-shell-cli.git
synced 2024-11-24 11:25:31 +00:00
enable readline
Allow readline interactivity - editing of input.
This commit is contained in:
parent
a8b61627b2
commit
163fc5f227
@ -236,7 +236,7 @@ while $running; do
|
||||
|
||||
if [ -z "$pipe_mode_prompt" ]; then
|
||||
echo -e "\nEnter a prompt:"
|
||||
read prompt
|
||||
read -e prompt
|
||||
else
|
||||
# set vars for pipe mode
|
||||
prompt=${pipe_mode_prompt}
|
||||
|
Loading…
Reference in New Issue
Block a user