Skip to content

[Bug]: file deleted on Undo action #3148

@Isos9

Description

@Isos9

Hi, when I undo my last prompt, it did not undo the one-line change I had, it actually deleted the whole file, showing /dev/null in the undo summary instead of the file name.

I think it actually happened because when I did the undo, I closed the opencode instance right away, I didn't wait for it to undo it.

I also had two opencodes opened on the same session at this time, but the other I just opened it to check something quickly in full screen, no interaction with it, so that might not be relevant.

The version was 0.15.0, on Alacritty, Arch linux.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions