Fix copy progress bar missing after first time (#2181)

* Fix copy progress bar missing after first time

* Update `CHANGELOG.md`
This commit is contained in:
Joe Lim authored and GitHub committed 2025-09-23 13:29:34 +10:00
1 parent 29627d455d
commit b3b3ad8228
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- `shell-pipe` commands no longer wait for output if kept open after the command has finished running (#2155).
- Natural sorting now compares string lengths when dealing with equivalent numbers (e.g. `0` is ordered before `00`) (#2177).
- A bug where the copy progress indicator only displayed the first time a file was copied is now fixed (#2181).
## [r38](https://github.com/gokcehan/lf/releases/tag/r38)
-1
View File
@@ -347,7 +347,6 @@ func (app *app) loop() {
app.nav.copyTotal += n
if n < 0 {
app.nav.copyBytes += n
app.nav.copyJobs -= 1
}
if app.nav.copyTotal == 0 {
app.nav.copyUpdate = 0