opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Failed to register memory buffer

Open ErwanLegrand opened this issue 1 month ago • 4 comments

Description

This error was triggered while editing a previous prompt.

Image

OpenCode version

1.0.134

Steps to reproduce

  1. Work with opencode
  2. Recall a completed prompt in the edition area
  3. Delete part of the old prompt (The bug was triggered after deleting maybe twenty characters in the middle of the prompt.)

Screenshot and/or share link

No response

Operating System

Debian stable

Terminal

Windows Terminal

ErwanLegrand avatar Dec 08 '25 16:12 ErwanLegrand

This issue might be a duplicate of existing issues. Please check:

  • #3749: TUI crashes during prompt edit - similar crash when editing and deleting content from a prompt

Feel free to ignore if this doesn't address your specific case.

github-actions[bot] avatar Dec 08 '25 16:12 github-actions[bot]

I am looking into this

kommander avatar Dec 09 '25 15:12 kommander

@ErwanLegrand were you using delete as opposed to backspace by any chance, so doing a "forward delete"? I've identified an issue with that at least.

kommander avatar Dec 09 '25 20:12 kommander

This should be fixed in the latest version

kommander avatar Dec 11 '25 11:12 kommander