aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/config')
-rw-r--r--alacritty/src/config/mod.rs7
-rw-r--r--alacritty/src/config/monitor.rs4
2 files changed, 9 insertions, 2 deletions
diff --git a/alacritty/src/config/mod.rs b/alacritty/src/config/mod.rs
index f416039c..ffa7cbd3 100644
--- a/alacritty/src/config/mod.rs
+++ b/alacritty/src/config/mod.rs
@@ -217,6 +217,13 @@ fn print_deprecation_warnings(config: &Config) {
the config"
);
}
+
+ if config.visual_bell.is_some() {
+ warn!(
+ target: LOG_TARGET_CONFIG,
+ "Config visual_bell has been deprecated; please use bell instead"
+ )
+ }
}
#[cfg(test)]
diff --git a/alacritty/src/config/monitor.rs b/alacritty/src/config/monitor.rs
index 42603c7e..2ed0c426 100644
--- a/alacritty/src/config/monitor.rs
+++ b/alacritty/src/config/monitor.rs
@@ -4,7 +4,7 @@ use std::time::Duration;
use notify::{watcher, DebouncedEvent, RecursiveMode, Watcher};
-use alacritty_terminal::util;
+use alacritty_terminal::thread;
use crate::event::{Event, EventProxy};
@@ -20,7 +20,7 @@ impl Monitor {
let path = path.into();
Monitor {
- _thread: util::thread::spawn_named("config watcher", move || {
+ _thread: thread::spawn_named("config watcher", move || {
let (tx, rx) = mpsc::channel();
// The Duration argument is a debouncing period.
let mut watcher =