diff --git a/Cargo.lock b/Cargo.lock index 797a424a..67c15a4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -66,9 +66,9 @@ dependencies = [ [[package]] name = "alacritty_terminal" -version = "0.15.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cb242564a92a164043841b07b195570b7e691b926858af601c43e0cc4fe68e3" +checksum = "02fb5d4af84e39f9754d039ff6de2233c8996dbae0af74910156e559e5766e2f" dependencies = [ "alacritty_config_derive", "base64", @@ -85,34 +85,7 @@ dependencies = [ "regex-automata", "serde 1.0.130", "serde_yaml", - "signal-hook 0.1.17", - "unicode-width", - "vte", - "winapi 0.3.9", -] - -[[package]] -name = "alacritty_terminal" -version = "0.16.0-rc2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54c51875d37376010fdf153b8594897700a82f0a18942ccad4beebfe61d61ede" -dependencies = [ - "alacritty_config_derive", - "base64", - "bitflags", - "dirs", - "libc", - "log", - "mio 0.6.23", - "mio-anonymous-pipes", - "mio-extras", - "miow 0.3.7", - "nix 0.22.2", - "parking_lot", - "regex-automata", - "serde 1.0.130", - "serde_yaml", - "signal-hook 0.3.13", + "signal-hook", "signal-hook-mio", "unicode-width", "vte", @@ -2020,7 +1993,7 @@ name = "lapce-data" version = "0.0.10" dependencies = [ "Inflector", - "alacritty_terminal 0.15.0", + "alacritty_terminal", "anyhow", "base64", "bit-vec 0.5.1", @@ -2076,7 +2049,7 @@ dependencies = [ name = "lapce-proxy" version = "0.0.10" dependencies = [ - "alacritty_terminal 0.16.0-rc2", + "alacritty_terminal", "anyhow", "base64", "crossbeam-channel", @@ -2123,7 +2096,7 @@ name = "lapce-ui" version = "0.0.10" dependencies = [ "Inflector", - "alacritty_terminal 0.15.0", + "alacritty_terminal", "anyhow", "base64", "bit-vec 0.5.1", @@ -3878,17 +3851,6 @@ dependencies = [ "num-traits 0.2.14", ] -[[package]] -name = "signal-hook" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e31d442c16f047a671b5a71e2161d6e68814012b7f5379d269ebd915fac2729" -dependencies = [ - "libc", - "mio 0.6.23", - "signal-hook-registry", -] - [[package]] name = "signal-hook" version = "0.3.13" @@ -3908,7 +3870,7 @@ dependencies = [ "libc", "mio 0.6.23", "mio-uds", - "signal-hook 0.3.13", + "signal-hook", ] [[package]] diff --git a/lapce-data/Cargo.toml b/lapce-data/Cargo.toml index c3d39a1e..dad19517 100644 --- a/lapce-data/Cargo.toml +++ b/lapce-data/Cargo.toml @@ -18,7 +18,7 @@ reqwest = { version = "0.11", features = ["blocking", "json"] } hashbrown = "0.11.2" sled = "0.34.7" base64 = "0.13.0" -alacritty_terminal = "0.15.0" +alacritty_terminal = "0.16" config = "0.11" indexmap = "1.7.0" directories = "4.0.1" diff --git a/lapce-data/src/terminal.rs b/lapce-data/src/terminal.rs index c5d32cfd..2b5e9054 100644 --- a/lapce-data/src/terminal.rs +++ b/lapce-data/src/terminal.rs @@ -29,7 +29,7 @@ state::{LapceWorkspace, Mode, VisualMode}, }; -pub type TermConfig = alacritty_terminal::config::Config>; +pub type TermConfig = alacritty_terminal::config::Config; #[derive(Clone)] pub struct TerminalSplitData { diff --git a/lapce-proxy/Cargo.toml b/lapce-proxy/Cargo.toml index ccfaa584..6c235116 100644 --- a/lapce-proxy/Cargo.toml +++ b/lapce-proxy/Cargo.toml @@ -16,7 +16,7 @@ wasmer-wasi = "2.1.1" directories = "4.0.1" locale_config = "0.3.0" base64 = "0.13.0" -alacritty_terminal = "0.16.0-rc2" +alacritty_terminal = "0.16" mio = "0.6.20" hotwatch = "0.4.6" notify = "5.0.0-pre.13" diff --git a/lapce-ui/Cargo.toml b/lapce-ui/Cargo.toml index d1296717..d3189041 100644 --- a/lapce-ui/Cargo.toml +++ b/lapce-ui/Cargo.toml @@ -17,7 +17,7 @@ reqwest = { version = "0.11", features = ["blocking", "json"] } hashbrown = "0.11.2" sled = "0.34.7" base64 = "0.13.0" -alacritty_terminal = "0.15.0" +alacritty_terminal = "0.16" config = "0.11" indexmap = "1.7.0" directories = "4.0.1" diff --git a/lapce-ui/src/terminal.rs b/lapce-ui/src/terminal.rs index 7344da36..6e28424a 100644 --- a/lapce-ui/src/terminal.rs +++ b/lapce-ui/src/terminal.rs @@ -15,7 +15,6 @@ PaintCtx, Point, Rect, RenderContext, Size, Target, UpdateCtx, Widget, WidgetExt, WidgetId, WidgetPod, }; -use hashbrown::HashMap; use lapce_data::{ command::{LapceUICommand, LAPCE_UI_COMMAND}, config::LapceTheme, @@ -37,7 +36,7 @@ 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '[', '\\', ']', '^', '_', ]; -pub type TermConfig = alacritty_terminal::config::Config>; +pub type TermConfig = alacritty_terminal::config::Config; pub struct RawTerminal { pub parser: ansi::Processor,