chatcraft.org icon indicating copy to clipboard operation
chatcraft.org copied to clipboard

Consider adding prompt history to ChatCraft

Open Amnish04 opened this issue 10 months ago • 4 comments

Today, I was using ChatCraft to generate a cover photo for my blog post. Since I didn't like one of the responses, I started clicking "up" arrow out of instinct, trying to get previous command and making changes to it.

However, I realized this functionality doesn't exist in ChatCraft but could be kinda useful, especially for people using ChatCraft commands a lot.

I was wondering if we could implement a Prompt History in user's local storage, and pressing up and down arrows would allow navigating through previous prompts just like we can do in any command line interface.

We could probably limit the number of prompts that are saved (maybe 10), so we do not eat up too much memory on user's computer. And we could also provide an option in user pref to set a customer prompt history.

Amnish04 avatar Apr 13 '24 21:04 Amnish04