From 0c5384be26d697766c25cae09cdd3f8140859454 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 27 Jan 2021 11:51:11 -0500 Subject: 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] * Fix vte update Thanks @ignatenkobrain Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Dan Davison --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/ansi/iterator.rs | 2 +- 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) -> Option { +fn parse_sgr_color(params: &mut dyn Iterator) -> Option { match params.next() { Some(2) => { let r = u8::try_from(params.next()?).ok()?; -- cgit v1.2.3