mirror of
https://github.com/talwat/lowfi
synced 2026-01-11 16:33:26 +00:00
chore: fix windows only line
This commit is contained in:
parent
9bffe77b2f
commit
87c4007462
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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",
|
||||||
|
|||||||
@ -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."
|
||||||
|
|||||||
@ -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, "");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user