opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: add tui.copy_on_select setting to allow disabling copy-on-select behaviour (resolves #4751, resolves #2845)

Open ariane-emory opened this issue 1 month ago • 1 comments

Resolves #4751, resolves #2845.

I saw this issue and decided that I'd take a stab at resolving it. This PR adds a tui.copy_on_select setting allowing the copy-on-select behaviour to be disabled if desired. Valid values for this setting are true and false.

Enable it in opencode.jsonc as follows:

"tui": {
  "copy_on_select": false
},

ariane-emory avatar Nov 26 '25 19:11 ariane-emory

Some of the churn in packages/sdk/go/config.go looks like it's just a consequence of the Go DK being regenerated.

ariane-emory avatar Nov 27 '25 05:11 ariane-emory

FYI #4996 may solve this for you

andy-blum avatar Dec 04 '25 15:12 andy-blum

@andy-blum indeed, looks like PR#4996 handles the same issue and was already merged. I'll close this PH, then. Thanks for letting me know!

ariane-emory avatar Dec 04 '25 16:12 ariane-emory