chore: fix windows only line

This commit is contained in:
talwat 2026-01-09 20:10:22 +01:00
parent 9bffe77b2f
commit 87c4007462
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1350,7 +1350,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
[[package]] [[package]]
name = "lowfi" name = "lowfi"
version = "2.0.1" version = "2.0.2"
dependencies = [ dependencies = [
"arc-swap", "arc-swap",
"bytes", "bytes",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "lowfi" name = "lowfi"
version = "2.0.1" version = "2.0.2"
rust-version = "1.83.0" rust-version = "1.83.0"
edition = "2021" edition = "2021"
description = "An extremely simple lofi player." description = "An extremely simple lofi player."

View File

@ -84,7 +84,7 @@ impl Window {
// We're doing this because Windows is stupid and can't stand // We're doing this because Windows is stupid and can't stand
// writing to the last line repeatedly. // writing to the last line repeatedly.
#[cfg(windows)] #[cfg(windows)]
let (height, suffix) = (len + 3, linefeed); let (height, suffix) = (len + 3, newline);
#[cfg(not(windows))] #[cfg(not(windows))]
let (height, suffix) = (len + 2, ""); let (height, suffix) = (len + 2, "");