diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-07-10 22:32:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 22:32:44 +0300 |
commit | 8bd2c13490f8cb6ad6b0c1104f9586b3554efea2 (patch) | |
tree | 6909d3be00c72c3c5acdd173aa7f411a1bc6b445 /alacritty/src/config/monitor.rs | |
parent | b78f3d133960dad38ad21e808723e51661b59881 (diff) | |
download | alacritty-8bd2c13490f8cb6ad6b0c1104f9586b3554efea2.tar.gz alacritty-8bd2c13490f8cb6ad6b0c1104f9586b3554efea2.zip |
Add option to run command on bell
Fixes #1528.
Diffstat (limited to 'alacritty/src/config/monitor.rs')
-rw-r--r-- | alacritty/src/config/monitor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 = |