aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/tty/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/tty/mod.rs')
-rw-r--r--alacritty_terminal/src/tty/mod.rs2
1 files changed, 1 insertions, 1 deletions
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"));
}