1
0
Fork 0
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:
Christian Duerr 2018-03-09 11:01:42 +01:00 committed by Joe Wilm
parent 0484a07fe1
commit dd60ea563d

View file

@ -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,
}