Skip to content

Commit

Permalink
Fix: output
Browse files Browse the repository at this point in the history
  • Loading branch information
Sojamann committed Dec 20, 2023
1 parent 1e76aa9 commit c9c4715
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions progress/progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func (m *model) readUntilProgressOrEOF() tea.Cmd {
progress := bytes.Count(read, []byte(m.progressIndicator))
if m.hideProgressIndicator {
read = bytes.ReplaceAll(read, []byte(m.progressIndicator), []byte{})
copy(m.buff[m.offset:], read)
}
m.offset += len(read)
return progressMsg(progress)
Expand Down

0 comments on commit c9c4715

Please sign in to comment.