From 11eeaaf792776b598f80e1416f5c9629840e16d8 Mon Sep 17 00:00:00 2001 From: eNV25 Date: Wed, 30 Aug 2023 15:29:46 +0200 Subject: [PATCH] cmd/ncdu: fix add keybinding to rescan filesystem --- cmd/ncdu/ncdu.go | 1 + 1 file changed, 1 insertion(+) 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)