diff options
Diffstat (limited to 'alacritty_terminal')
-rw-r--r-- | alacritty_terminal/Cargo.toml | 18 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/mod.rs | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml index 546d3b96..7252a6f4 100644 --- a/alacritty_terminal/Cargo.toml +++ b/alacritty_terminal/Cargo.toml @@ -18,19 +18,19 @@ path = "../alacritty_config" version = "0.1.2-dev" [dependencies] -libc = "0.2" +base64 = "0.13.0" bitflags = { version = "2.2.1", features = ["serde"] } +home = "0.5.5" +libc = "0.2" +log = "0.4" +mio = "0.6.20" +mio-extras = "2" parking_lot = "0.12.0" +regex-automata = "0.1.9" serde = { version = "1", features = ["derive", "rc"] } serde_yaml = "0.8" -vte = { version = "0.10.0", default-features = false } -mio = "0.6.20" -mio-extras = "2" -log = "0.4" unicode-width = "0.1" -base64 = "0.13.0" -regex-automata = "0.1.9" -dirs = "4.0.0" +vte = { version = "0.10.0", default-features = false } [target.'cfg(unix)'.dependencies] nix = "0.24.1" @@ -38,8 +38,8 @@ signal-hook = "0.3.10" signal-hook-mio = { version = "0.2.1", features = ["support-v0_6"] } [target.'cfg(windows)'.dependencies] -miow = "0.3" mio-anonymous-pipes = "0.2" +miow = "0.3" windows-sys = { version = "0.36", features = [ "Win32_System_Console", "Win32_Foundation", diff --git a/alacritty_terminal/src/tty/mod.rs b/alacritty_terminal/src/tty/mod.rs index c537c8d6..b4c5fae0 100644 --- a/alacritty_terminal/src/tty/mod.rs +++ b/alacritty_terminal/src/tty/mod.rs @@ -98,7 +98,7 @@ fn terminfo_exists(terminfo: &str) -> bool { if let Some(dir) = env::var_os("TERMINFO") { check_path!(PathBuf::from(&dir)); - } else if let Some(home) = dirs::home_dir() { + } else if let Some(home) = home::home_dir() { check_path!(home.join(".terminfo")); } |