Screen Clear Bugfix
This commit is contained in:
parent
211b44978a
commit
dd1fbb77c6
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ async fn print_info(shutdown: Arc<AtomicBool>, bot: Arc<Mutex<Bot>>) {
|
||||||
let bot: tokio::sync::MutexGuard<'_, Bot> = bot.lock().await;
|
let bot: tokio::sync::MutexGuard<'_, Bot> = bot.lock().await;
|
||||||
thread::sleep(Duration::from_millis(500));
|
thread::sleep(Duration::from_millis(500));
|
||||||
|
|
||||||
//print!("\x1B[2J\x1B[1;1H");
|
print!("\x1B[2J\x1B[1;1H");
|
||||||
println!(
|
println!(
|
||||||
"##[Ascendance of a Bookworm Bot]## | Time: {}",
|
"##[Ascendance of a Bookworm Bot]## | Time: {}",
|
||||||
Utc::now().naive_local().format("%H:%M:%S")
|
Utc::now().naive_local().format("%H:%M:%S")
|
||||||
|
|
Loading…
Reference in a new issue