From 8bd2c13490f8cb6ad6b0c1104f9586b3554efea2 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Fri, 10 Jul 2020 22:32:44 +0300 Subject: Add option to run command on bell Fixes #1528. --- alacritty/src/config/monitor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alacritty/src/config/monitor.rs') 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 = -- cgit