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/renderer/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alacritty/src/renderer/mod.rs') diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs index 7dc037a1..bd9f4ae7 100644 --- a/alacritty/src/renderer/mod.rs +++ b/alacritty/src/renderer/mod.rs @@ -24,7 +24,7 @@ use alacritty_terminal::index::{Column, Line}; use alacritty_terminal::term::cell::{self, Flags}; use alacritty_terminal::term::color::Rgb; use alacritty_terminal::term::{self, CursorKey, RenderableCell, RenderableCellContent, SizeInfo}; -use alacritty_terminal::util; +use alacritty_terminal::thread; use std::fmt::{self, Display, Formatter}; pub mod rects; @@ -660,7 +660,7 @@ impl QuadRenderer { let (msg_tx, msg_rx) = mpsc::channel(); if cfg!(feature = "live-shader-reload") { - util::thread::spawn_named("live shader reload", move || { + thread::spawn_named("live shader reload", move || { let (tx, rx) = std::sync::mpsc::channel(); // The Duration argument is a debouncing period. let mut watcher = -- cgit