We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c2143 commit e1d83a0Copy full SHA for e1d83a0
1 file changed
cmd/display/tty.go
@@ -339,6 +339,18 @@ func (w *ttyWriter) printWithDimensions(terminalWidth, terminalHeight int) {
339
}
340
341
342
+ // pad timers so they all have the same visible width
343
+ for i := range lines {
344
+ l := &lines[i]
345
+ if l.timer == "" {
346
+ continue
347
+ }
348
+ timerWidth := utf8.RuneCountInString(l.timer)
349
+ if timerWidth < timerLen {
350
+ l.timer = l.timer + strings.Repeat(" ", timerLen-timerWidth)
351
352
353
+
354
// shorten details/taskID to fit terminal width
355
w.adjustLineWidth(lines, timerLen, terminalWidth)
356
0 commit comments