mirror of
https://github.com/alacritty/alacritty
synced 2024-07-03 07:58:56 +00:00
Fix URLs opening in explorer on Windows
This commit is contained in:
parent
5aa02816c4
commit
17923efccf
|
@ -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
|
||||
|
||||
|
|
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user