From a51902ede97afd84b469f838f25ab79287bd375d Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 7 Apr 2026 00:04:32 +0300 Subject: fix: use byte-based pane scrollback limit --- CONFIGURATION.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CONFIGURATION.md') 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 -- cgit v1.2.3