2024-11-21 10:58:26 +00:00
|
|
|
mod indicators {
|
|
|
|
pub mod user;
|
2024-08-14 14:58:16 +00:00
|
|
|
}
|
2024-11-23 11:20:15 +00:00
|
|
|
use crate::indicators::user;
|
2024-08-14 14:58:16 +00:00
|
|
|
|
2024-08-13 21:49:45 +00:00
|
|
|
fn main() -> std::io::Result<()> {
|
2024-11-23 11:20:15 +00:00
|
|
|
//let mut prompt: ANSIGenericString<'static, str> = "".into();
|
|
|
|
let mut prompt: String = String::new();
|
|
|
|
|
|
|
|
let indicate_user:bool = true;
|
|
|
|
|
|
|
|
if indicate_user {
|
|
|
|
prompt += &user::indicator().to_string();
|
|
|
|
}
|
|
|
|
print!("{}", prompt);
|
2024-08-14 21:03:53 +00:00
|
|
|
|
2024-08-13 21:49:45 +00:00
|
|
|
Ok(())
|
2024-08-19 13:24:12 +00:00
|
|
|
}
|