AineeJames / ChatGPTerminator

GPTerminator provides a convenient way to interact with OpenAI's chat completion and image generation API's using your command line interface.
MIT License
230 stars 16 forks source link

Use up arrow to load previous command #19

Open HariNairJHUAPL opened 1 year ago

HariNairJHUAPL commented 1 year ago

Thanks for the very useful application. Out of habit, I often press the up arrow to load the previous command to make a small edit. Since this doesn't work I have to copy and paste the previous command. Please allow the user to navigate through the command list with the arrow keys.

A similar suggestion, have !{number} load the numbered command on the current line. Perhaps add !history to print a numbered list of all previous commands? I'll stop now :)

ykrx commented 1 year ago

+1 for key up to cycle through previous prompts