diff --git a/Cargo.lock b/Cargo.lock index 11c52b78..ed878eba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2002,7 +2002,6 @@ dependencies = [ "byte-unit", "bytes", "clap", - "crossterm", "float-cmp", "float-ord", "flume", diff --git a/Cargo.toml b/Cargo.toml index 66d7941b..834c9769 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,6 @@ anyhow = "1.0.86" average = "0.15.1" byte-unit = "5.1.4" clap = { version = "4.5.9", features = ["derive"] } -crossterm = "0.28.1" float-ord = "0.3.2" flume = "0.11" futures = "0.3.30" diff --git a/src/main.rs b/src/main.rs index b900bfae..ea01d5a7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,6 +11,7 @@ use hyper::http::{ use printer::PrintMode; use rand::prelude::*; use rand_regex::Regex; +use ratatui::crossterm; use result_data::ResultData; use std::{env, io::Read, str::FromStr}; use url::Url; diff --git a/src/monitor.rs b/src/monitor.rs index fef53f05..79501a5f 100644 --- a/src/monitor.rs +++ b/src/monitor.rs @@ -4,6 +4,7 @@ use crossterm::{ ExecutableCommand, }; use hyper::http; +use ratatui::crossterm; use ratatui::{ backend::CrosstermBackend, layout::{Constraint, Direction, Layout}, diff --git a/src/printer.rs b/src/printer.rs index 7a9b9a2b..df6ad205 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -3,6 +3,7 @@ use average::{Max, Min, Variance}; use byte_unit::Byte; use crossterm::style::{StyledContent, Stylize}; use hyper::http::{self, StatusCode}; +use ratatui::crossterm; use std::{ collections::BTreeMap, io::Write,