aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/next/api/herdr-api.schema.json16
-rw-r--r--docs/next/website/src/data/config-reference.json6
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+[\"",