diff --git a/config/src/config.rs b/config/src/config.rs index 0eb575348..70a77d8db 100644 --- a/config/src/config.rs +++ b/config/src/config.rs @@ -1645,7 +1645,7 @@ const MAX_SCROLLBACK_LINES: usize = 999_999_999; fn validate_scrollback_lines(value: &usize) -> Result<(), String> { if *value > MAX_SCROLLBACK_LINES { return Err(format!( - "Illegal value {value} for scrollback_size; it must be <= {MAX_SCROLLBACK_LINES}!" + "Illegal value {value} for scrollback_lines; it must be <= {MAX_SCROLLBACK_LINES}!" )); } Ok(()) diff --git a/docs/changelog.md b/docs/changelog.md index fc34fb389..57fcd6a66 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -44,6 +44,8 @@ As features stabilize some brief notes about them will accumulate here. so that the effective behavior of the defaults remains unchanged. Thanks to @LeszekSwirski! #4924 #3502 * Improved startup performance on X11. Thanks to @blukai! #5923 #5802 +* There is now an upper bound of 999,999,999 for `scrollback_lines`. Thanks to + @x3ro! #5996 #### New * [wezterm.serde](config/lua/wezterm.serde/index.md) module for serialization