added a new module and the ability to specify a config file if you want

to.
This commit is contained in:
2026-08-12 17:05:35 -05:00
parent 4ce461025c
commit 7b1f9f9d4e
10 changed files with 208 additions and 33 deletions
+2 -3
View File
@@ -5,16 +5,15 @@ use crossterm::{
execute,
terminal::{EnterAlternateScreen, LeaveAlternateScreen, disable_raw_mode, enable_raw_mode},
};
use iced::keyboard::key::Code::Sleep;
use ratatui::{
prelude::*,
widgets::{Block, Borders, List, ListItem, ListState, Paragraph},
};
use std::thread::sleep;
use std::thread::spawn;
use std::time::Duration;
use std::{error::Error, time::Instant};
use std::{io::Write, usize};
use std::{sync::Arc, thread::sleep};
use std::{sync::Mutex, thread::spawn};
pub fn get_user_input(prompt: &str) -> Result<String, Box<dyn Error>> {
println!("{}", prompt);