diff --git a/crossterm_style/src/ansi_color.rs b/crossterm_style/src/ansi_color.rs index 3ff582d6..84ca6a7f 100644 --- a/crossterm_style/src/ansi_color.rs +++ b/crossterm_style/src/ansi_color.rs @@ -5,11 +5,7 @@ use crate::{Color, ITerminalColor}; use crossterm_utils::Result; use crate::Colored; -use std::io; -use std::io::BufWriter; -use std::io::Stdout; use std::io::Write; -use std::sync::RwLock; /// This struct is an ANSI escape code implementation for color related actions. pub struct AnsiColor; diff --git a/crossterm_utils/src/macros.rs b/crossterm_utils/src/macros.rs index 42accb51..6842ae7d 100644 --- a/crossterm_utils/src/macros.rs +++ b/crossterm_utils/src/macros.rs @@ -4,8 +4,6 @@ macro_rules! csi { ($( $l:expr ),*) => { concat!("\x1B[", $( $l ),*) }; } -pub static mut flush_count: u32 = 0; - /// Write a string to standard output whereafter the screen will be flushed. #[macro_export] macro_rules! write_cout {