Screen Clear Bugfix

This commit is contained in:
Neshura 2023-09-01 00:11:02 +02:00
parent 211b44978a
commit dd1fbb77c6
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -328,7 +328,7 @@ async fn print_info(shutdown: Arc<AtomicBool>, bot: Arc<Mutex<Bot>>) {
let bot: tokio::sync::MutexGuard<'_, Bot> = bot.lock().await;
thread::sleep(Duration::from_millis(500));
//print!("\x1B[2J\x1B[1;1H");
print!("\x1B[2J\x1B[1;1H");
println!(
"##[Ascendance of a Bookworm Bot]## | Time: {}",
Utc::now().naive_local().format("%H:%M:%S")