summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 98d4754..b65bb7b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,9 +2,9 @@
 
 mod config;
 mod system;
-use crossterm::{cursor::{self, MoveTo}, terminal::{Clear, ClearType, DisableLineWrap, EnableLineWrap, EnterAlternateScreen, LeaveAlternateScreen}};
+use crossterm::{cursor::MoveTo, terminal::{Clear, ClearType, DisableLineWrap, EnableLineWrap, EnterAlternateScreen, LeaveAlternateScreen}};
 use system::{Manager, SystemThreadCommand};
-use std::{collections::{HashMap, VecDeque}, fs, io::{self, Write}, sync::mpsc, thread::{self, sleep, JoinHandle}, time::Duration};
+use std::{collections::{HashMap, VecDeque}, fs, io, sync::mpsc, thread::{self, sleep, JoinHandle}, time::Duration};
 use tokio::runtime;
 
 pub struct UiState {
@@ -207,7 +207,7 @@ fn spawn_system(system_name : &String, system_config: config::System, waker: mps
         }).unwrap()
 }
 
-fn update_ui(ui_state: &UiState, config: &config::Config) {
+fn update_ui(ui_state: &UiState, _config: &config::Config) {
     crossterm::execute!(io::stdout(), Clear(ClearType::FromCursorUp)).unwrap();
     crossterm::execute!(io::stdout(), MoveTo(0, 0)).unwrap();