Skip to content

Commit 3d3ce37

Browse files
committed
Align chunk and cut numbers in summary
1 parent c7e5282 commit 3d3ce37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

markut.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func (context EvalContext) PrintSummary() error {
275275
var renderedLength Millis = 0
276276
for i, chunk := range context.chunks {
277277
if i < len(context.chunks)-1 {
278-
fmt.Printf("%-*s Cut %d - %s\n", locWidth, chunk.Loc.String() + ":", i, millisToTs(fullLength+chunk.Duration()))
278+
fmt.Printf("%-*s Cut %2d - %s\n", locWidth, chunk.Loc.String() + ":", i, millisToTs(fullLength+chunk.Duration()))
279279
}
280280
fullLength += chunk.Duration()
281281
if !chunk.Unfinished {
@@ -296,7 +296,7 @@ func (context EvalContext) PrintSummary() error {
296296
if rendered {
297297
checkMark = "[x]"
298298
}
299-
fmt.Printf("%-*s %s Chunk %d - %s -> %s (Duration: %s)\n", locWidth, chunk.Loc.String() + ":", checkMark, index, millisToTs(chunk.Start), millisToTs(chunk.End), millisToTs(chunk.Duration()))
299+
fmt.Printf("%-*s %s Chunk %2d - %s -> %s (Duration: %s)\n", locWidth, chunk.Loc.String() + ":", checkMark, index, millisToTs(chunk.Start), millisToTs(chunk.End), millisToTs(chunk.Duration()))
300300
// TODO: Print extra output flags of the chunk
301301
}
302302
fmt.Println()

0 commit comments

Comments
 (0)