aboutsummaryrefslogtreecommitdiff
path: root/CONFIGURATION.md
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-04-07 00:04:32 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-04-07 00:04:32 +0300
commita51902ede97afd84b469f838f25ab79287bd375d (patch)
tree986cf68f33370450eae9152ac3c2015aeebe5882 /CONFIGURATION.md
parent6ccf156a3dd23f419c03892ddc1136e72957f66a (diff)
fix: use byte-based pane scrollback limit
Diffstat (limited to 'CONFIGURATION.md')
-rw-r--r--CONFIGURATION.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/CONFIGURATION.md b/CONFIGURATION.md
index d28617e8..e61d0774 100644
--- a/CONFIGURATION.md
+++ b/CONFIGURATION.md
@@ -243,6 +243,7 @@ available agent keys:
```toml
[advanced]
allow_nested = false
+scrollback_limit_bytes = 10000000
```
### options
@@ -250,10 +251,14 @@ allow_nested = false
| option | default | description |
|--------|---------|-------------|
| `advanced.allow_nested` | `false` | allow launching herdr from inside a herdr-managed pane |
+| `advanced.scrollback_limit_bytes` | `10000000` | maximum scrollback buffer size in bytes retained per pane terminal |
notes:
- by default, herdr blocks nested launches when `HERDR_ENV=1` is already present
- this is mainly an escape hatch for debugging or intentionally weird setups
+- this matches Ghostty's default `scrollback-limit` value
+- set `scrollback_limit_bytes = 0` to disable pane scrollback entirely
+- the old `advanced.scrollback_lines` key is still accepted as a compatibility alias, but it uses the same byte-based value
## environment variables