yudax42 / askai

Command Line Interface for OpenAi ChatGPT
http://chat.openai.com/
86 stars 7 forks source link

readline support #4

Open andyDoucette opened 1 year ago

andyDoucette commented 1 year ago

It would be a nice addition if askai live prompt used gnu readline so we we can use the shortcuts we've gotten used to at the prompt. For example:

It's helpful when you want to edit a word 4 words ago. Ctrl-w-w-w, edit, Ctrl-y and it's done.

andyDoucette commented 1 year ago

Looks like there's a node package for this too: https://nodejs.org/api/readline.html

yudax42 commented 1 year ago

@andyDoucette that's a great suggestion. I will work on it as soon as I can find some time for it

andyDoucette commented 1 year ago

Thanks so much. :)