aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-14 18:16:13 +0300
committerGitHub <noreply@github.com>2026-09-14 18:16:13 +0300
commit03749ae3970a74e077fc16b9327bddfc957771c9 (patch)
tree1818341b728ad85d2ffd549b1e5a2956dff6dd8e /docs
parent0af53b75d9220c6d528b80104f0231fe447e93b2 (diff)
fix: default pane splits to the calling pane (#4123)
Diffstat (limited to 'docs')
-rw-r--r--docs/next/website/src/content/docs/cli-reference.mdx5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/next/website/src/content/docs/cli-reference.mdx b/docs/next/website/src/content/docs/cli-reference.mdx
index 9d736c39..9f61d02d 100644
--- a/docs/next/website/src/content/docs/cli-reference.mdx
+++ b/docs/next/website/src/content/docs/cli-reference.mdx
@@ -225,8 +225,9 @@ herdr pane close <pane_id>
For pane commands that accept `--current`, Herdr uses the calling pane's
`HERDR_PANE_ID` when the command runs inside a Herdr pane. For `pane split`,
-an explicit pane id or `--pane ID` splits that pane, `--current` splits the
-calling pane, and an omitted target keeps using the UI-focused pane.
+an explicit pane id or `--pane ID` splits that pane. An omitted target splits
+the calling pane when `HERDR_PANE_ID` is available, otherwise the focused pane.
+`--current` requires a calling pane and errors when `HERDR_PANE_ID` is unavailable.
The split response exposes the new pane ID as `.result.pane.pane_id`.
`pane input --right-click pane` forwards unmodified right-click gestures to a