Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

cmd/ncdu: fix add keybinding to rescan filesystem

eNV2511eeaaf79277
diff --git a/cmd/ncdu/ncdu.go b/cmd/ncdu/ncdu.go
index cd93e734d..0482a71c0 100644
--- a/cmd/ncdu/ncdu.go
+++ b/cmd/ncdu/ncdu.go
@@ -906,6 +906,7 @@ func (u *UI) scan() (chan *scan.Dir, chan error, chan struct{}) {
if cancel := u.cancel; cancel != nil {
cancel()
}
+ u.listing = true
ctx := context.Background()
ctx, u.cancel = context.WithCancel(ctx)
return scan.Scan(ctx, u.f)