opencode
opencode copied to clipboard
feat: add tui.copy_on_select setting to allow disabling copy-on-select behaviour (resolves #4751, resolves #2845)
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
},
Some of the churn in packages/sdk/go/config.go looks like it's just a consequence of the Go DK being regenerated.
FYI #4996 may solve this for you
@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!