Undo is a mess - unable to revert to previous code

When using either ctrl+k or ctrl+l with apply for code creation, undo a total mess.

It’s super hard to revert to a previous state!

When using ctrl+k, the undo initially goes to the text input box. I think it’s fair to assume the user doesn’t want to edit their prompt, but undo the code.

Same with ctrl+l with apply, it leaves a mess of legacy prompts that can’t be cleared.

I would like the interface to only consider removing the code changes when using undo, rather than the entire history of user interaction with the AI

1 Like

Could you send a video of this? on my end, seems like it first affects the change, and then the prompt

On a Mac, it’s just Cmd-Z twice, did you try?