(dir *dir, beg, end int)
| 481 | } |
| 482 | |
| 483 | func getCustomWidth(dir *dir, beg, end int) int { |
| 484 | maxw := 0 |
| 485 | |
| 486 | for _, f := range dir.files[beg:end] { |
| 487 | maxw = max(printLength(f.customInfo), maxw) |
| 488 | } |
| 489 | |
| 490 | return maxw |
| 491 | } |
| 492 | |
| 493 | func getWins(screen tcell.Screen) []*win { |
| 494 | wtot, htot := screen.Size() |