summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAshelyn Rose <git@ashen.earth>2025-03-01 18:38:46 -0700
committerAshelyn Rose <git@ashen.earth>2025-03-01 18:38:46 -0700
commitdc69de9e3535e3ca49f6b74c54d2c32d218c2d81 (patch)
treedf97a4452ac0e68c4b73e774d5bab7e4158eef0c /src/main.rs
parentdf8e78aded7ce2c8653e81edeaaa026e7c44c713 (diff)
Clean up warnings
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();