diff options
-rw-r--r-- | alacritty.yml | 2 | ||||
-rw-r--r-- | alacritty/src/config/ui_config.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/alacritty.yml b/alacritty.yml index 00e56898..4fdbb1f9 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -479,7 +479,7 @@ # Move the vi mode cursor to the beginning of the hint. #enabled: # - regex: "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - # [^\u0000-\u001F\u007F-\u009F<>\" {-}\\^⟨⟩`]+" + # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" # command: xdg-open # post_processing: true # mouse: diff --git a/alacritty/src/config/ui_config.rs b/alacritty/src/config/ui_config.rs index 4b520640..d34389e9 100644 --- a/alacritty/src/config/ui_config.rs +++ b/alacritty/src/config/ui_config.rs @@ -24,7 +24,7 @@ use crate::config::window::WindowConfig; /// Regex used for the default URL hint. #[rustfmt::skip] const URL_REGEX: &str = "(magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - [^\u{0000}-\u{001F}\u{007F}-\u{009F}<>\" {-}\\^⟨⟩`]+"; + [^\u{0000}-\u{001F}\u{007F}-\u{009F}<>\"\\s{-}\\^⟨⟩`]+"; #[derive(ConfigDeserialize, Debug, PartialEq)] pub struct UiConfig { |