Skip to content

Commit 4e6f398

Browse files
committed
fix wasWritten logic
1 parent a10008d commit 4e6f398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Printer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ final class Printer: Sendable {
5454
$0.write(buffer.value.data(using: .utf8)!)
5555
try? $0.synchronize()
5656
}
57-
if !_wasWritten.value && !buffer.value.withoutANSI().isEmpty {
57+
if !_wasWritten.value {
5858
_wasWritten.setValue(true)
5959
}
6060
buffer.setValue(String())

0 commit comments

Comments
 (0)