aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Linford <tlinford@users.noreply.github.com>2022-09-03 20:11:56 +0200
committerGitHub <noreply@github.com>2022-09-03 20:11:56 +0200
commita58a5ca7697526ff79cdfc3ed97e34b2de84ce15 (patch)
tree8c02d64a189bc3a21eee2564843a5c2779abcad6
parentdocs(template): mention stty size in bug recreation (diff)
downloadsl0ppij-a58a5ca7697526ff79cdfc3ed97e34b2de84ce15.tar.gz
sl0ppij-a58a5ca7697526ff79cdfc3ed97e34b2de84ce15.tar.xz
sl0ppij-a58a5ca7697526ff79cdfc3ed97e34b2de84ce15.zip
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
-rw-r--r--CHANGELOG.md1
-rw-r--r--Cargo.lock14
-rw-r--r--zellij-utils/Cargo.toml2
3 files changed, 14 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c9799eaa..9970ba2f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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: 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: handle osc params larger than 1024 bytes (https://github.com/zellij-org/zellij/pull/1711)
## [0.31.3] - 2022-08-18
* HOTFIX: fix up-arrow regression
diff --git a/Cargo.lock b/Cargo.lock
index 30505e9d..8130b6aa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2352,7 +2352,7 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8"
dependencies = [
- "vte",
+ "vte 0.10.1",
]
[[package]]
@@ -2824,6 +2824,16 @@ dependencies = [
]
[[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]]
name = "vte_generate_state_changes"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3405,7 +3415,7 @@ dependencies = [
"thiserror",
"unicode-width",
"url",
- "vte",
+ "vte 0.11.0",
]
[[package]]
diff --git a/zellij-utils/Cargo.toml b/zellij-utils/Cargo.toml
index 0b7a95a0..4bbd0897 100644
--- a/zellij-utils/Cargo.toml
+++ b/zellij-utils/Cargo.toml
@@ -30,7 +30,7 @@ strum = "0.20.0"
strum_macros = "0.20.1"
thiserror = "1.0.30"
url = { version = "2.2.2", features = ["serde"] }
-vte = "0.10.1"
+vte = { version = "0.11.0", default-features = false }
log = "0.4.17"
unicode-width = "0.1.8"
miette = { version = "3.3.0", features = ["fancy"] }