fix(tui): panic when reading/writing clipboard on linux

This commit is contained in:
adamdottv 2025-07-08 18:29:45 -05:00
parent 969154a473
commit aacadd8a8a
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ require (
replace github.com/sst/opencode-sdk-go => ./sdk
replace golang.design/x/clipboard v0.7.1 => github.com/sst/clipboard v0.0.0-20250708194754-36e9fc12a4e8
replace golang.design/x/clipboard v0.7.1 => github.com/sst/clipboard v0.0.0-20250708232830-b7ebc01e2ffe
require golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect

View file

@ -181,8 +181,8 @@ github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/sst/clipboard v0.0.0-20250708194754-36e9fc12a4e8 h1:GNr7eAnMwAzUNk7eOsw4Flr9c9Uk55Wnf4840DCckwc=
github.com/sst/clipboard v0.0.0-20250708194754-36e9fc12a4e8/go.mod h1:i5SiIqj0wLFw9P/1D7vfILFK0KHMk7ydE72HRrUIgkg=
github.com/sst/clipboard v0.0.0-20250708232830-b7ebc01e2ffe h1:aV1GTz7azZyF5hHyDWB0Mejy0q4Q8WuvhMP1h3tZVN0=
github.com/sst/clipboard v0.0.0-20250708232830-b7ebc01e2ffe/go.mod h1:i5SiIqj0wLFw9P/1D7vfILFK0KHMk7ydE72HRrUIgkg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=