fix(progress): eliminate duplicate bar frame per asset in TTY mode #116
Reference in New Issue
Block a user
Delete Branch "fix/progress-duplicate-tty-frame"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
문제
TTY 모드에서 파일 하나당 indicatif bar 가 두 번 렌더됨:
AssetStarted→bar.set_message(...)→ 렌더AssetFinished→bar.set_position(...)→ 같은 메시지로 재렌더터미널 scrollback 에 파일당 줄이 2개 남는 artifact 발생.
수정
AssetStarted에서 position + message 를 한 번에 업데이트 (idx - 1완료 수 + 현재 파일 메시지).AssetFinished에서 bar 업데이트 제거.Completed의finish_and_clear()가 최종 정리 담당.non-TTY 동작 (append-only lines) 은 변경 없음.
테스트
기존 37개 테스트 모두 통과.