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/renderer/mod.rs | |
parent | b78f3d133960dad38ad21e808723e51661b59881 (diff) | |
download | r-alacritty-8bd2c13490f8cb6ad6b0c1104f9586b3554efea2.tar.gz r-alacritty-8bd2c13490f8cb6ad6b0c1104f9586b3554efea2.tar.bz2 r-alacritty-8bd2c13490f8cb6ad6b0c1104f9586b3554efea2.zip |
Add option to run command on bell
Fixes #1528.
Diffstat (limited to 'alacritty/src/renderer/mod.rs')
-rw-r--r-- | alacritty/src/renderer/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 = |