mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Add failure_default
deserializer to scroll_history
This commit is contained in:
parent
0484a07fe1
commit
dd60ea563d
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ pub struct Config {
|
|||
tabspaces: usize,
|
||||
|
||||
/// How much scrolling history to keep
|
||||
#[serde(default="default_scroll_history")]
|
||||
#[serde(default="default_scroll_history", deserialize_with="failure_default")]
|
||||
scroll_history: u32,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue