From b3b3ad8228ebf23758a2b0515a5f068c50ada076 Mon Sep 17 00:00:00 2001 From: Joe Lim <50560759+joelim-work@users.noreply.github.com> Date: Tue, 23 Sep 2025 13:29:34 +1000 Subject: [PATCH] Fix copy progress bar missing after first time (#2181) * Fix copy progress bar missing after first time * Update `CHANGELOG.md` --- CHANGELOG.md | 1 + app.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1545d059..77f7178e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/app.go b/app.go index 1b360722..02c1c39b 100644 --- a/app.go +++ b/app.go @@ -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