I think this is a bit nicer with a genexp:

```python
title_width = max(len(title) + 2 for title, _ in fields)
```