summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2021-01-27 11:51:11 -0500
committerGitHub <noreply@github.com>2021-01-27 11:51:11 -0500
commit0c5384be26d697766c25cae09cdd3f8140859454 (patch)
treeecb1abe823937cc626b985f90c3a39f20ca79dc0
parent6175a2d163c729ab7af389ccc4a22959046da2b8 (diff)
Bump vte from 0.9.0 to 0.10.0 (#486)
* Bump vte from 0.9.0 to 0.10.0 Bumps [vte](https://github.com/alacritty/vte) from 0.9.0 to 0.10.0. - [Release notes](https://github.com/alacritty/vte/releases) - [Changelog](https://github.com/alacritty/vte/blob/master/CHANGELOG.md) - [Commits](https://github.com/alacritty/vte/compare/v0.9.0...v0.10.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix vte update Thanks @ignatenkobrain Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Dan Davison <dandavison7@gmail.com>
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
-rw-r--r--src/ansi/iterator.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a5b04b4c..738400b4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -832,9 +832,9 @@ checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
[[package]]
name = "vte"
-version = "0.9.0"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e7745610024d50ab1ebfa41f8f8ee361c567f7ab51032f93cc1cc4cbf0c547a"
+checksum = "2df25fed2855d2fbcbdf1016c69a6ac070fa1aabc8b5d7aedaab8703dce0d2d6"
dependencies = [
"arrayvec",
"utf8parse",
diff --git a/Cargo.toml b/Cargo.toml
index f6c25f4c..74710379 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,7 +30,7 @@ shell-words = "1.0.0"
structopt = "0.3.21"
unicode-segmentation = "1.7.1"
unicode-width = "0.1.8"
-vte = "0.9.0"
+vte = "0.10.0"
[dependencies.git2]
version = "0.13.17"
diff --git a/src/ansi/iterator.rs b/src/ansi/iterator.rs
index e8ce6deb..e5beb18a 100644
--- a/src/ansi/iterator.rs
+++ b/src/ansi/iterator.rs
@@ -261,7 +261,7 @@ fn ansi_term_style_from_sgr_parameters(params: &mut ParamsIter<'_>) -> ansi_term
}
// Based on https://github.com/alacritty/alacritty/blob/57c4ac9145a20fb1ae9a21102503458d3da06c7b/alacritty_terminal/src/ansi.rs#L1258
-fn parse_sgr_color(params: &mut dyn Iterator<Item = i64>) -> Option<ansi_term::Color> {
+fn parse_sgr_color(params: &mut dyn Iterator<Item = u16>) -> Option<ansi_term::Color> {
match params.next() {
Some(2) => {
let r = u8::try_from(params.next()?).ok()?;