|
@@ -5,10 +5,10 @@ extern crate systemstat;
|
|
|
use std::thread;
|
|
use std::thread;
|
|
|
use termion::{cursor, color, clear, terminal_size};
|
|
use termion::{cursor, color, clear, terminal_size};
|
|
|
use termion::color::Color;
|
|
use termion::color::Color;
|
|
|
-use termion::raw::{IntoRawMode, RawTerminal};
|
|
|
|
|
|
|
+use termion::raw::{IntoRawMode};
|
|
|
use termion::screen::{AlternateScreen};
|
|
use termion::screen::{AlternateScreen};
|
|
|
use termion::async_stdin;
|
|
use termion::async_stdin;
|
|
|
-use std::io::{Read, Write, StdoutLock, stdout};
|
|
|
|
|
|
|
+use std::io::{Read, Write, stdout};
|
|
|
use std::time::{Duration, Instant};
|
|
use std::time::{Duration, Instant};
|
|
|
use std::cmp::min;
|
|
use std::cmp::min;
|
|
|
|
|
|