diff --git a/Cargo.toml b/Cargo.toml index 2ac90ffe0..2da056f3e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ daemonize = "0.4" [target.'cfg(not(windows))'.dependencies] # show a notification -notify-rust = "3" +notify-rust = "4.0.0-alpha.2" # on linux, font-loader pulls in servo-font* crates which conflict with # our newer font related deps, so we avoid it on linux diff --git a/src/config/mod.rs b/src/config/mod.rs index 65647df40..11fcb4d2c 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -152,6 +152,8 @@ impl ConfigInner { notify_rust::Notification::new() .summary("Wezterm Configuration") .body(&format!("{}", err)) + // Stay on the screen until dismissed + .hint(notify_rust::Hint::Resident(true)) // timeout isn't respected on macos .timeout(0) .show()