From d82f78981f9c82716265a2b3e0cbe5afc94c2948 Mon Sep 17 00:00:00 2001 From: talwat <83217276+talwat@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:29:09 +0200 Subject: [PATCH] feat: prevent border from being bold --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/player/ui.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e27f155..a76f412 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -982,7 +982,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lowfi" -version = "1.1.0" +version = "1.1.1" dependencies = [ "Inflector", "arc-swap", diff --git a/Cargo.toml b/Cargo.toml index 9e04151..61f4948 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lowfi" -version = "1.1.0" +version = "1.1.1" edition = "2021" description = "An extremely simple lofi player." license = "MIT" diff --git a/src/player/ui.rs b/src/player/ui.rs index e04103e..d5e9ba9 100644 --- a/src/player/ui.rs +++ b/src/player/ui.rs @@ -112,8 +112,8 @@ async fn interface(queue: Arc) -> eyre::Result<()> { ]; // Formats the menu properly - let menu = - [main, progress, bar.join(" ")].map(|x| format!("│ {x} │\r\n").reset().to_string()); + let menu = [main, progress, bar.join(" ")] + .map(|x| format!("│ {} │\r\n", x.reset()).to_string()); crossterm::execute!(stderr(), Clear(ClearType::FromCursorDown))?; crossterm::execute!(