aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-03-09 11:01:42 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2018-03-09 09:47:21 -0800
commit52ebf3e6ec33309999c19fe25d27ce0f5a8887b2 (patch)
treece9e621738413f069fed66edab8590016732f267
parentec49105203934a342d4aa416029ebdbbdeb1cce9 (diff)
downloadalacritty-52ebf3e6ec33309999c19fe25d27ce0f5a8887b2.tar.gz
alacritty-52ebf3e6ec33309999c19fe25d27ce0f5a8887b2.zip
Add `failure_default` deserializer to `scroll_history`
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 58f4b815..cc4e7eee 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -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,
}