added a new module and the ability to specify a config file if you want
to.
This commit is contained in:
+2
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user