mirror of
https://github.com/talwat/lowfi
synced 2025-01-12 19:31:54 +00:00
feat: prevent border from being bold
This commit is contained in:
parent
1412cd5245
commit
d82f78981f
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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",
|
||||||
|
@ -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"
|
||||||
|
@ -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!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user