mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
fix: scrollback limit not being parsed correctly (#3906)
Change `scrollback-limit` type to a usize rather than a u32 to handle parsing values larger than 4294967295. Fixes https://github.com/ghostty-org/ghostty/issues/3900
This commit is contained in:
@ -679,7 +679,7 @@ command: ?[]const u8 = null,
|
||||
/// This is a future planned feature.
|
||||
///
|
||||
/// This can be changed at runtime but will only affect new terminal surfaces.
|
||||
@"scrollback-limit": u32 = 10_000_000, // 10MB
|
||||
@"scrollback-limit": usize = 10_000_000, // 10MB
|
||||
|
||||
/// Match a regular expression against the terminal text and associate clicking
|
||||
/// it with an action. This can be used to match URLs, file paths, etc. Actions
|
||||
|
Reference in New Issue
Block a user