mirror of
https://github.com/talwat/lowfi
synced 2025-01-27 02:41:26 +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]]
|
[[package]]
|
||||||
name = "lowfi"
|
name = "lowfi"
|
||||||
version = "1.4.2"
|
version = "1.5.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"Inflector",
|
"Inflector",
|
||||||
"arc-swap",
|
"arc-swap",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lowfi"
|
name = "lowfi"
|
||||||
version = "1.4.2"
|
version = "1.5.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "An extremely simple lofi player."
|
description = "An extremely simple lofi player."
|
||||||
license = "MIT"
|
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
|
/// `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.
|
/// 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<()> {
|
async fn interface(player: Arc<Player>, minimalist: bool) -> eyre::Result<()> {
|
||||||
|
let mut stdout = std::io::stdout();
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let action = components::action(&player, WIDTH);
|
let action = components::action(&player, WIDTH);
|
||||||
|
|
||||||
@ -146,7 +148,7 @@ async fn interface(player: Arc<Player>, minimalist: bool) -> eyre::Result<()> {
|
|||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
crossterm::execute!(
|
crossterm::execute!(
|
||||||
stdout(),
|
stdout,
|
||||||
Clear(ClearType::FromCursorDown),
|
Clear(ClearType::FromCursorDown),
|
||||||
MoveToColumn(0),
|
MoveToColumn(0),
|
||||||
Print(format!("┌{}┐\r\n", "─".repeat(WIDTH + 2))),
|
Print(format!("┌{}┐\r\n", "─".repeat(WIDTH + 2))),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user