diff options
| author | adamelmore <[email protected]> | 2025-07-21 09:02:40 -0500 |
|---|---|---|
| committer | adamelmore <[email protected]> | 2025-07-21 10:02:58 -0500 |
| commit | 0aa0e740cd7fe41e6bf5fc851f0c2260e9684caf (patch) | |
| tree | 82c361998d8b09199dbb4bbaf0655a47efdd9fad /packages/web | |
| parent | bb17d14665de1c240249ce33dd18fb9e0ae463b9 (diff) | |
| download | opencode-0aa0e740cd7fe41e6bf5fc851f0c2260e9684caf.tar.gz opencode-0aa0e740cd7fe41e6bf5fc851f0c2260e9684caf.zip | |
docs: cleanup
Diffstat (limited to 'packages/web')
| -rw-r--r-- | packages/web/src/content/docs/docs/config.mdx | 18 | ||||
| -rw-r--r-- | packages/web/src/content/docs/docs/troubleshooting.mdx | 24 |
2 files changed, 0 insertions, 42 deletions
diff --git a/packages/web/src/content/docs/docs/config.mdx b/packages/web/src/content/docs/docs/config.mdx index 8cb911691..8bc40dc33 100644 --- a/packages/web/src/content/docs/docs/config.mdx +++ b/packages/web/src/content/docs/docs/config.mdx @@ -92,24 +92,6 @@ You can configure the theme you want to use in your opencode config through the --- -### Layout - -You can configure the layout of the TUI with the `layout` option. - -```json title="opencode.json" -{ - "$schema": "https://opencode.ai/config.json", - "layout": "stretch" -} -``` - -This takes: - -- `"auto"`: Centers content with padding. This is the default. -- `"stretch"`: Uses full terminal width. - ---- - ### Logging Logs are written to: diff --git a/packages/web/src/content/docs/docs/troubleshooting.mdx b/packages/web/src/content/docs/docs/troubleshooting.mdx index 9d7dd33a5..81de87411 100644 --- a/packages/web/src/content/docs/docs/troubleshooting.mdx +++ b/packages/web/src/content/docs/docs/troubleshooting.mdx @@ -117,27 +117,3 @@ export DISPLAY=:99.0 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`. ---- - -### How to select and copy text in the TUI - -There are several ways to copy text from opencode's TUI: - -- **Copy latest message**: Use `<leader>y` to copy the most recent message in your current session to the clipboard -- **Export session**: Use `/export` (or `<leader>x`) to open the current session as plain text in your `$EDITOR` (requires the `EDITOR` environment variable to be set) - -We're working on adding click & drag text selection in a future update. - ---- - -### TUI not rendering full width - -By default, opencode's TUI uses an "auto" layout that centers content with padding. If you want the TUI to use the full width of your terminal, you can configure the layout setting: - -```json title="opencode.json" -{ - "layout": "stretch" -} -``` - -Read more about this in the [config docs](/docs/config#layout). |
