mirror of
https://github.com/talwat/lowfi
synced 2025-01-13 20:01:27 +00:00
fix: remove accidental debug display
This commit is contained in:
parent
6f7c2dbcba
commit
724afd6fa7
@ -114,15 +114,7 @@ async fn input(sender: Sender<Messages>) -> eyre::Result<()> {
|
|||||||
/// 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<()> {
|
||||||
loop {
|
loop {
|
||||||
let action = format!(
|
let action = components::action(&player, WIDTH);
|
||||||
"{} {}",
|
|
||||||
components::action(&player, WIDTH - 2),
|
|
||||||
player
|
|
||||||
.tracks
|
|
||||||
.try_read()
|
|
||||||
.and_then(|x| Ok(x.len().to_string()))
|
|
||||||
.unwrap_or(String::from("?"))
|
|
||||||
);
|
|
||||||
|
|
||||||
let timer = VOLUME_TIMER.load(Ordering::Relaxed);
|
let timer = VOLUME_TIMER.load(Ordering::Relaxed);
|
||||||
let volume = player.sink.volume();
|
let volume = player.sink.volume();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user