1
1
mirror of https://github.com/wez/wezterm.git synced 2024-08-16 17:50:28 +03:00

fix: quickselect now matches paths with //

closes: https://github.com/wez/wezterm/issues/5763
This commit is contained in:
Wez Furlong 2024-07-13 14:25:01 -07:00
parent 749ddc9ffe
commit 4e8eb7c2ca
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
2 changed files with 3 additions and 2 deletions

View File

@ -80,6 +80,7 @@ As features stabilize some brief notes about them will accumulate here.
* Render invalidation issue when closing tabs other than the last tab. Thanks
to @Mrreadiness! #5441 #5304
* Search mode now accepts composed input from the IME. Thanks to @kenchou! #5564
* Quick select mode will now accept unix paths with `//` in them. #5763
#### Updated
* Bundled conpty.dll and OpenConsole.exe to build 1.19.240130002.nupkg

View File

@ -27,7 +27,7 @@ const PATTERNS: [&str; 14] = [
// markdown_url
r"\[[^]]*\]\(([^)]+)\)",
// url
r"(?:https?://|git@|git://|ssh://|ftp://|file:///)\S+",
r"(?:https?://|git@|git://|ssh://|ftp://|file://)\S+",
// diff_a
r"--- a/(\S+)",
// diff_b
@ -35,7 +35,7 @@ const PATTERNS: [&str; 14] = [
// docker
r"sha256:([0-9a-f]{64})",
// path
r"(?:[.\w\-@~]+)?(?:/[.\w\-@]+)+",
r"(?:[.\w\-@~]+)?(?:/+[.\w\-@]+)+",
// color
r"#[0-9a-fA-F]{6}",
// uuid