diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-19 14:47:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-19 14:47:18 +0300 |
| commit | cc7c696cd0772e466da403eb4e3f00f4e8d8ae1e (patch) | |
| tree | d8325f7f2fb1ac53613ae56e8215042e6d497dd9 /docs | |
| parent | 3f2a6e743f67bc947cfa06be25df106d00b9ee11 (diff) | |
feat: add configurable pane screen and scrollback clearing (#4383)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next/api/herdr-api.schema.json | 16 | ||||
| -rw-r--r-- | docs/next/website/src/data/config-reference.json | 6 |
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json index 26299e79..6f8b4f20 100644 --- a/docs/next/api/herdr-api.schema.json +++ b/docs/next/api/herdr-api.schema.json @@ -5710,6 +5710,22 @@ { "properties": { "method": { + "const": "pane.clear", + "type": "string" + }, + "params": { + "$ref": "#/schemas/request/$defs/PaneTarget" + } + }, + "required": [ + "method", + "params" + ], + "type": "object" + }, + { + "properties": { + "method": { "const": "pane.edit_scrollback", "type": "string" }, diff --git a/docs/next/website/src/data/config-reference.json b/docs/next/website/src/data/config-reference.json index cf102f4b..ece9a833 100644 --- a/docs/next/website/src/data/config-reference.json +++ b/docs/next/website/src/data/config-reference.json @@ -698,6 +698,12 @@ "description": "Open the focused pane scrollback in $EDITOR." }, { + "key": "keys.clear_pane", + "type": "keybinding", + "default": "unset", + "description": "Clear the focused pane screen and scrollback, keeping the current cursor line and its visible soft-wrapped rows. Sends no input to the running program and does nothing on the alternate screen (for example, Vim). Unset by default; for example, clear_pane = \"prefix+ctrl+k\"." + }, + { "key": "keys.copy_mode", "type": "keybinding", "default": "\"prefix+[\"", |
