From 17923efccfb7e6bbcdeb5f748796d9ee1ea70149 Mon Sep 17 00:00:00 2001 From: Serban Constantin Date: Mon, 15 Mar 2021 16:27:57 +0200 Subject: Fix URLs opening in explorer on Windows --- alacritty/src/config/mouse.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'alacritty/src') diff --git a/alacritty/src/config/mouse.rs b/alacritty/src/config/mouse.rs index f562ebe0..2aa7557c 100644 --- a/alacritty/src/config/mouse.rs +++ b/alacritty/src/config/mouse.rs @@ -38,7 +38,10 @@ impl Default for Url { #[cfg(target_os = "macos")] launcher: Some(Program::Just(String::from("open"))), #[cfg(windows)] - launcher: Some(Program::Just(String::from("explorer"))), + launcher: Some(Program::WithArgs { + program: String::from("cmd"), + args: vec!["/c".to_string(), "start".to_string(), "".to_string()], + }), modifiers: Default::default(), } } -- cgit