fix osc params 1024 byte limit (#1711)

* update vte to v0.11.0, and turn off it's default-features

* vte's default includes no_std, and in that case the osc params buffer is capped at 1024 bytes

* add changelog entry
This commit is contained in:
Thomas Linford 2022-09-03 20:11:56 +02:00 committed by GitHub
parent 28a002929a
commit a58a5ca769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 3 deletions

View file

@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
* fix: bracketed paste handling regression (https://github.com/zellij-org/zellij/pull/1689) * fix: bracketed paste handling regression (https://github.com/zellij-org/zellij/pull/1689)
* fix: occasional startup crashes (https://github.com/zellij-org/zellij/pull/1706) * fix: occasional startup crashes (https://github.com/zellij-org/zellij/pull/1706)
* fix: gracefully handle SSH disconnects (https://github.com/zellij-org/zellij/pull/1710) * fix: gracefully handle SSH disconnects (https://github.com/zellij-org/zellij/pull/1710)
* fix: handle osc params larger than 1024 bytes (https://github.com/zellij-org/zellij/pull/1711)
## [0.31.3] - 2022-08-18 ## [0.31.3] - 2022-08-18
* HOTFIX: fix up-arrow regression * HOTFIX: fix up-arrow regression

14
Cargo.lock generated
View file

@ -2352,7 +2352,7 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8" checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8"
dependencies = [ dependencies = [
"vte", "vte 0.10.1",
] ]
[[package]] [[package]]
@ -2823,6 +2823,16 @@ dependencies = [
"vte_generate_state_changes", "vte_generate_state_changes",
] ]
[[package]]
name = "vte"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1aae21c12ad2ec2d168c236f369c38ff332bc1134f7246350dca641437365045"
dependencies = [
"utf8parse",
"vte_generate_state_changes",
]
[[package]] [[package]]
name = "vte_generate_state_changes" name = "vte_generate_state_changes"
version = "0.1.1" version = "0.1.1"
@ -3405,7 +3415,7 @@ dependencies = [
"thiserror", "thiserror",
"unicode-width", "unicode-width",
"url", "url",
"vte", "vte 0.11.0",
] ]
[[package]] [[package]]

View file

@ -30,7 +30,7 @@ strum = "0.20.0"
strum_macros = "0.20.1" strum_macros = "0.20.1"
thiserror = "1.0.30" thiserror = "1.0.30"
url = { version = "2.2.2", features = ["serde"] } url = { version = "2.2.2", features = ["serde"] }
vte = "0.10.1" vte = { version = "0.11.0", default-features = false }
log = "0.4.17" log = "0.4.17"
unicode-width = "0.1.8" unicode-width = "0.1.8"
miette = { version = "3.3.0", features = ["fancy"] } miette = { version = "3.3.0", features = ["fancy"] }