"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
ncdu: fix display corruption with Chinese characters - #2989
Nick Craig-Wood997654d77dec
diff --git a/cmd/ncdu/ncdu.go b/cmd/ncdu/ncdu.goindex 343647e41..6dd13cc50 100644--- a/cmd/ncdu/ncdu.go+++ b/cmd/ncdu/ncdu.go@@ -10,6 +10,7 @@ import ("sort""strings"+ runewidth "github.com/mattn/go-runewidth""github.com/ncw/rclone/cmd""github.com/ncw/rclone/cmd/ncdu/scan""github.com/ncw/rclone/fs"@@ -122,7 +123,7 @@ func Printf(x, y int, fg, bg termbox.Attribute, format string, args ...interfacefunc Line(x, y, xmax int, fg, bg termbox.Attribute, spacer rune, msg string) {for _, c := range msg {termbox.SetCell(x, y, c, fg, bg)- x+++ x += runewidth.RuneWidth(c)if x >= xmax {return}