From de1d921ba35c442ffaf94eee73a80a3fb0b9ec9a Mon Sep 17 00:00:00 2001 From: Andrew Naylor Date: Sun, 20 Sep 2015 23:03:06 +0100 Subject: [PATCH] Ensure we flush when the line is cleared --- mas-cli/AppStore/PurchaseDownloadObserver.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/mas-cli/AppStore/PurchaseDownloadObserver.swift b/mas-cli/AppStore/PurchaseDownloadObserver.swift index 9e97bc3..fc3414b 100644 --- a/mas-cli/AppStore/PurchaseDownloadObserver.swift +++ b/mas-cli/AppStore/PurchaseDownloadObserver.swift @@ -90,6 +90,7 @@ func clearLine() { return } print("\(csi)2K\(csi)0G") + fflush(stdout) } extension SSDownloadStatus {