anomalyco / anomalyco/opencode
doing /undo and then quickly sending next matches glitches and hides our new chat instruction under a 'reverted' label
@simonklee is already working on this.
Since Aug 23, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
ps: typo -> message not matches
basically when i press /undo to revert recent changes the command itself goes forward and then when i send some other command quickly enough it shows 2 reverted messages (the undo triggers a little late and revert the undoed and the newly send message both) and my latest command gets hidden, so basically to avoid this we have to wait for this undo to show '1 message reverted' before sending another command because that another command instead of getting queued literally disappears when this reverted pop up appears, leading to bad ux experience.
Plugins
No response
OpenCode version
1.18.21
Steps to reproduce
- have some file changed during an edit and do /undo
- the previous message will instantly come up even before the chat is reset press enter on it
- this message will be send again and then after a while it will be vanished under '2 messages reverted' rather than 1.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Windows Terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.