diff options
Diffstat (limited to 'alacritty_terminal/src/config/mod.rs')
-rw-r--r-- | alacritty_terminal/src/config/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/config/mod.rs b/alacritty_terminal/src/config/mod.rs index 2d921b6e..80be4d16 100644 --- a/alacritty_terminal/src/config/mod.rs +++ b/alacritty_terminal/src/config/mod.rs @@ -127,7 +127,7 @@ impl Cursor { } #[derive(SerdeReplace, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] -#[serde(untagged)] +#[serde(untagged, deny_unknown_fields)] pub enum ConfigCursorStyle { Shape(CursorShapeShim), WithBlinking { @@ -191,7 +191,7 @@ impl From<CursorBlinking> for bool { } #[derive(Deserialize, Debug, Clone, PartialEq, Eq)] -#[serde(untagged)] +#[serde(untagged, deny_unknown_fields)] pub enum Program { Just(String), WithArgs { |