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

termwiz deps: update semver

This commit is contained in:
Wez Furlong 2024-05-13 12:19:56 -07:00
parent 7af8290231
commit 26cd8bebca
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
2 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,7 @@ ordered-float = "4.1"
pest = "2.1"
pest_derive = "2.1"
phf = "0.11"
semver = "0.11"
semver = "1.0"
serde = {version="1.0", features = ["rc", "derive"], optional=true}
siphasher = "0.3"
sha2 = "0.10"

View File

@ -300,7 +300,9 @@ impl Capabilities {
.term_program_version
.as_ref()
.unwrap_or(&"0.0.0".to_owned()),
) >= Version::parse("2.9.20150512")
)
.unwrap_or(Version::new(0, 0, 0))
>= Version::new(2, 9, 20150512)
}
Some("WezTerm") => true,
_ => false,