aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/daemon.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.rs b/src/daemon.rs
index a0de698..1434555 100644
--- a/src/daemon.rs
+++ b/src/daemon.rs
@@ -550,7 +550,7 @@ fn handle_lyrics_stream(stream: &mut UnixStream, audio: &Arc<AudioEngine>) {
550 if prev_line_count > 0 { 550 if prev_line_count > 0 {
551 frame.push_str(&format!("\x1b[{}A\x1b[1B", prev_line_count)); 551 frame.push_str(&format!("\x1b[{}A\x1b[1B", prev_line_count));
552 } else { 552 } else {
553 frame.push_str(&format!("\x1b[2K")); 553 frame.push_str("\x1b[2K");
554 } 554 }
555 frame.push_str(&output); 555 frame.push_str(&output);
556 if stream.write_all(frame.as_bytes()).is_err() { 556 if stream.write_all(frame.as_bytes()).is_err() {