summaryrefslogtreecommitdiffstats
path: root/stdout
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2021-07-23 21:40:18 +0200
committerDaniel Milde <daniel@milde.cz>2021-07-23 21:40:18 +0200
commit0ed27ba9bf8f98b8d798757c8ced61d988a9e286 (patch)
treef13f2f816f1b077df5645466421f03d2f1b5f205 /stdout
parentda5f79732baa511a7bf5e47544eba8c10e0335bb (diff)
added thousand separator to item count numberv5.4.0
closes #77
Diffstat (limited to 'stdout')
-rw-r--r--stdout/stdout.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdout/stdout.go b/stdout/stdout.go
index b572e9a..21acfff 100644
--- a/stdout/stdout.go
+++ b/stdout/stdout.go
@@ -285,7 +285,7 @@ func (ui *UI) updateProgress() {
fmt.Fprintf(ui.output, "\r %s ", string(progressRunes[i]))
fmt.Fprint(ui.output, "Scanning... Total items: "+
- ui.red.Sprint(progress.ItemCount)+
+ ui.red.Sprint(common.FormatNumber(int64(progress.ItemCount)))+
" size: "+
ui.formatSize(progress.TotalSize))