1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-15 15:53:41 +00:00

cmd: Make --progress work on Windows

This commit is contained in:
Nick Craig-Wood
2018-08-17 16:59:59 +01:00
parent 18685e6b0b
commit 1cccfa7331
3 changed files with 38 additions and 1 deletions

9
cmd/progress_other.go Normal file
View File

@@ -0,0 +1,9 @@
//+build !windows
package cmd
import "os"
func writeToTerminal(b []byte) {
_, _ = os.Stdout.Write(b)
}