fix: remove unused platform specific usings (#55)

This commit is contained in:
DocMarty84 2023-07-18 00:20:38 +02:00 committed by GitHub
parent 16a82ebe05
commit 28035d9a2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,6 @@ use settings::Settings;
use spotify::Spotify; use spotify::Spotify;
use std::{ use std::{
env, env,
os::windows::process,
time::{Duration, Instant}, time::{Duration, Instant},
}; };
@ -29,6 +28,7 @@ async fn main() {
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
use colored::control; use colored::control;
use std::os::windows::process;
//backwards compatibility. //backwards compatibility.
if control::set_virtual_terminal(true).is_ok() {}; if control::set_virtual_terminal(true).is_ok() {};