aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-03-09 11:01:42 +0100
committerJoe Wilm <joe@jwilm.com>2018-06-02 09:36:27 -0700
commitdd60ea563d1b3022e387d96e2b6cf8bbb682b947 (patch)
treeb143c263037bf8e8434ee67a6a9d54fe0bbc5a9c /src/config.rs
parent0484a07fe1bdedd658e74907a7f2bdeb068688db (diff)
downloadalacritty-dd60ea563d1b3022e387d96e2b6cf8bbb682b947.tar.gz
alacritty-dd60ea563d1b3022e387d96e2b6cf8bbb682b947.zip
Add `failure_default` deserializer to `scroll_history`
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index b0523c13..2c2cfe46 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,
}