mirror of
https://github.com/orhun/systeroid
synced 2024-10-15 11:52:19 +00:00
Merge #49
49: chore(deps): bump termion from 1.5.6 to 2.0.1 r=orhun a=dependabot[bot] Bumps termion from 1.5.6 to 2.0.1. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=termion&package-manager=cargo&previous-version=1.5.6&new-version=2.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
commit
632cb1d44f
16
Cargo.lock
generated
16
Cargo.lock
generated
|
@ -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",
|
||||
]
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue