summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src
diff options
context:
space:
mode:
authorDaniel Nouri <[email protected]>2025-07-14 13:57:45 +0200
committerGitHub <[email protected]>2025-07-14 06:57:45 -0500
commit139d6e2818fcbc69a5a4ed7550e6439ab0e07c57 (patch)
tree9593ba528a5da522d8783896de3de3a39bda1e25 /packages/web/src
parent06554efdf455d33b2831a5142ea0c6eb01308352 (diff)
downloadopencode-139d6e2818fcbc69a5a4ed7550e6439ab0e07c57.tar.gz
opencode-139d6e2818fcbc69a5a4ed7550e6439ab0e07c57.zip
Fix clipboard on Wayland systems (#941)
Co-authored-by: Daniel Nouri <daniel@redhotcar>
Diffstat (limited to 'packages/web/src')
-rw-r--r--packages/web/src/content/docs/docs/troubleshooting.mdx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web/src/content/docs/docs/troubleshooting.mdx b/packages/web/src/content/docs/docs/troubleshooting.mdx
index 234c7cce1..bb4f906ee 100644
--- a/packages/web/src/content/docs/docs/troubleshooting.mdx
+++ b/packages/web/src/content/docs/docs/troubleshooting.mdx
@@ -115,4 +115,4 @@ Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
export DISPLAY=:99.0
```
-opencode will automatically detect and use the first available clipboard tool in order of preference: `xclip`, `xsel`, then `wl-clipboard`.
+opencode will detect if you're using Wayland and prefer `wl-clipboard`, otherwise it will try to find clipboard tools in order of: `xclip` and `xsel`.