mirror of
https://github.com/talwat/lowfi
synced 2025-01-12 19:31:54 +00:00
chore: bump version
This commit is contained in:
parent
10a3263c82
commit
ac9b196675
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1312,7 +1312,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
||||
|
||||
[[package]]
|
||||
name = "lowfi"
|
||||
version = "1.4.2"
|
||||
version = "1.5.0"
|
||||
dependencies = [
|
||||
"Inflector",
|
||||
"arc-swap",
|
||||
|
@ -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"
|
||||
|
@ -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))),
|
||||
|
Loading…
x
Reference in New Issue
Block a user