From 03749ae3970a74e077fc16b9327bddfc957771c9 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Mon, 14 Sep 2026 18:16:13 +0300 Subject: fix: default pane splits to the calling pane (#4123) --- docs/next/website/src/content/docs/cli-reference.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/next') 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 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 -- cgit v1.2.3