chore: bump version

This commit is contained in:
Tal 2024-10-15 14:41:01 +02:00
parent 10a3263c82
commit ac9b196675
3 changed files with 5 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1312,7 +1312,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]]
name = "lowfi"
version = "1.4.2"
version = "1.5.0"
dependencies = [
"Inflector",
"arc-swap",

View File

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

View File

@ -113,6 +113,8 @@ async fn input(sender: Sender<Messages>) -> eyre::Result<()> {
/// `volume_timer` is a bit strange, but it tracks how long the `volume` bar
/// has been displayed for, so that it's only displayed for a certain amount of frames.
async fn interface(player: Arc<Player>, minimalist: bool) -> eyre::Result<()> {
let mut stdout = std::io::stdout();
loop {
let action = components::action(&player, WIDTH);
@ -146,7 +148,7 @@ async fn interface(player: Arc<Player>, minimalist: bool) -> eyre::Result<()> {
.collect();
crossterm::execute!(
stdout(),
stdout,
Clear(ClearType::FromCursorDown),
MoveToColumn(0),
Print(format!("{}\r\n", "".repeat(WIDTH + 2))),