diff options
Diffstat (limited to 'alacritty_terminal')
-rw-r--r-- | alacritty_terminal/Cargo.toml | 1 | ||||
-rw-r--r-- | alacritty_terminal/src/ansi.rs | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml index 7d354f39..9844939f 100644 --- a/alacritty_terminal/Cargo.toml +++ b/alacritty_terminal/Cargo.toml @@ -29,6 +29,7 @@ parking_lot = "0.12.0" regex-automata = "0.1.9" serde = { version = "1", features = ["derive", "rc"] } serde_yaml = "0.8" +toml = "0.7.1" unicode-width = "0.1" vte = { version = "0.11.1", default-features = false, features = ["ansi", "serde"] } diff --git a/alacritty_terminal/src/ansi.rs b/alacritty_terminal/src/ansi.rs index b596cc82..5a28bda5 100644 --- a/alacritty_terminal/src/ansi.rs +++ b/alacritty_terminal/src/ansi.rs @@ -52,11 +52,7 @@ impl<'de> serde::Deserialize<'de> for CursorShapeShim { } impl alacritty_config::SerdeReplace for CursorShapeShim { - fn replace( - &mut self, - key: &str, - value: serde_yaml::Value, - ) -> Result<(), Box<dyn std::error::Error>> { + fn replace(&mut self, key: &str, value: toml::Value) -> Result<(), Box<dyn std::error::Error>> { if !key.is_empty() { return Err(format!("Fields \"{0}\" do not exist", key).into()); } |