mirror of
https://github.com/talwat/lowfi
synced 2026-01-11 08:23:30 +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]]
|
||||
name = "lowfi"
|
||||
version = "2.0.1"
|
||||
version = "2.0.2"
|
||||
dependencies = [
|
||||
"arc-swap",
|
||||
"bytes",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lowfi"
|
||||
version = "2.0.1"
|
||||
version = "2.0.2"
|
||||
rust-version = "1.83.0"
|
||||
edition = "2021"
|
||||
description = "An extremely simple lofi player."
|
||||
|
||||
@ -84,7 +84,7 @@ impl Window {
|
||||
// We're doing this because Windows is stupid and can't stand
|
||||
// writing to the last line repeatedly.
|
||||
#[cfg(windows)]
|
||||
let (height, suffix) = (len + 3, linefeed);
|
||||
let (height, suffix) = (len + 3, newline);
|
||||
#[cfg(not(windows))]
|
||||
let (height, suffix) = (len + 2, "");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user