presto-cli/src/main/java/io/prestosql/cli/VerticalRecordPrinter.java/VerticalRecordPrinter/maxWidth
class VerticalRecordPrinter:    private static int maxWidth(Iterable<String> strings)
    {
        int n = 0;
        for (String s : strings) {
            n = max(n, consoleWidth(s));
        }
        return n;
    }