diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-03-09 11:01:42 +0100 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:36:27 -0700 |
commit | dd60ea563d1b3022e387d96e2b6cf8bbb682b947 (patch) | |
tree | b143c263037bf8e8434ee67a6a9d54fe0bbc5a9c /src | |
parent | 0484a07fe1bdedd658e74907a7f2bdeb068688db (diff) | |
download | alacritty-dd60ea563d1b3022e387d96e2b6cf8bbb682b947.tar.gz alacritty-dd60ea563d1b3022e387d96e2b6cf8bbb682b947.zip |
Add `failure_default` deserializer to `scroll_history`
Diffstat (limited to 'src')
-rw-r--r-- | src/config.rs | 2 |
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, } |