mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-26 07:33:35 +03:00
Fix URLs opening in explorer on Windows
This commit is contained in:
1 parent
5aa02816c4
commit
17923efccf
3 files changed
+6
-2
No files matched your search
@@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Alacritty failing to start on X11 with invalid DPI reported by XRandr
|
||||
- Text selected after search without any match
|
||||
- Incorrect vi cursor position after leaving search
|
||||
- Clicking on URLs on Windows incorrectly opens File Explorer
|
||||
|
||||
### Removed
|
||||
|
||||
|
||||
+1
-1
@@ -456,7 +456,7 @@
|
||||
# Default:
|
||||
# - (macOS) open
|
||||
# - (Linux/BSD) xdg-open
|
||||
# - (Windows) explorer
|
||||
# - (Windows) cmd /c start ""
|
||||
#launcher:
|
||||
# program: xdg-open
|
||||
# args: []
|
||||
|
||||
@@ -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(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user