(out tui.Output, headers []imgColumn, defaultColor aec.ANSI, details imageDetails)
| 397 | } |
| 398 | |
| 399 | func printDetails(out tui.Output, headers []imgColumn, defaultColor aec.ANSI, details imageDetails) { |
| 400 | for _, h := range headers { |
| 401 | if h.DetailsValue == nil { |
| 402 | continue |
| 403 | } |
| 404 | |
| 405 | _, _ = fmt.Fprint(out, strings.Repeat(" ", columnSpacing)) |
| 406 | clr := defaultColor |
| 407 | if h.Color != nil { |
| 408 | clr = *h.Color |
| 409 | } |
| 410 | val := h.DetailsValue(&details) |
| 411 | _, _ = fmt.Fprint(out, h.Print(clr, val)) |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | func printChildren(out tui.Output, headers []imgColumn, img topImage, normalColor aec.ANSI) { |
| 416 | for idx, sub := range img.Children { |
no test coverage detected
searching dependent graphs…