feat: prevent border from being bold

This commit is contained in:
talwat 2024-10-01 13:29:09 +02:00
parent 1412cd5245
commit d82f78981f
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -982,7 +982,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]] [[package]]
name = "lowfi" name = "lowfi"
version = "1.1.0" version = "1.1.1"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"arc-swap", "arc-swap",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "lowfi" name = "lowfi"
version = "1.1.0" version = "1.1.1"
edition = "2021" edition = "2021"
description = "An extremely simple lofi player." description = "An extremely simple lofi player."
license = "MIT" license = "MIT"

View File

@ -112,8 +112,8 @@ async fn interface(queue: Arc<Player>) -> eyre::Result<()> {
]; ];
// Formats the menu properly // Formats the menu properly
let menu = let menu = [main, progress, bar.join(" ")]
[main, progress, bar.join(" ")].map(|x| format!("{x}\r\n").reset().to_string()); .map(|x| format!("{}\r\n", x.reset()).to_string());
crossterm::execute!(stderr(), Clear(ClearType::FromCursorDown))?; crossterm::execute!(stderr(), Clear(ClearType::FromCursorDown))?;
crossterm::execute!( crossterm::execute!(