chore(deps): bump termion from 1.5.6 to 2.0.1

Bumps termion from 1.5.6 to 2.0.1.

---
updated-dependencies:
- dependency-name: termion
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2022-10-24 01:34:43 +00:00 committed by Orhun Parmaksız
parent 50c34f1df0
commit 3d7192cf77
No known key found for this signature in database
GPG key ID: F83424824B3E4B90
3 changed files with 17 additions and 5 deletions

16
Cargo.lock generated
View file

@ -782,7 +782,7 @@ dependencies = [
"copypasta-ext",
"getopts",
"systeroid-core",
"termion",
"termion 2.0.1",
"thiserror",
"tui",
"unicode-width",
@ -800,6 +800,18 @@ dependencies = [
"redox_termios",
]
[[package]]
name = "termion"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "659c1f379f3408c7e5e84c7d0da6d93404e3800b6b9d063ba24436419302ec90"
dependencies = [
"libc",
"numtoa",
"redox_syscall",
"redox_termios",
]
[[package]]
name = "thiserror"
version = "1.0.37"
@ -837,7 +849,7 @@ checksum = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1"
dependencies = [
"bitflags",
"cassowary",
"termion",
"termion 1.5.6",
"unicode-segmentation",
"unicode-width",
]

View file

@ -18,7 +18,7 @@ default = ["clipboard"]
clipboard = ["copypasta-ext"]
[dependencies]
termion = "1.5.6"
termion = "2.0.1"
unicode-width = "0.1.10"
thiserror = "1.0.37"
getopts = "0.2.21"

View file

@ -5,7 +5,7 @@ use systeroid_tui::args::Args;
use systeroid_tui::error::Result;
use termion::input::MouseTerminal;
use termion::raw::IntoRawMode;
use termion::screen::AlternateScreen;
use termion::screen::IntoAlternateScreen;
use tui::backend::TermionBackend;
fn main() -> Result<()> {
@ -13,7 +13,7 @@ fn main() -> Result<()> {
let output = io::stderr();
let output = output.into_raw_mode()?;
let output = MouseTerminal::from(output);
let output = AlternateScreen::from(output);
let output = output.into_alternate_screen()?;
let backend = TermionBackend::new(output);
match systeroid_tui::run(args, backend) {
Ok(_) => process::exit(0),