def _max_line_width(s):
    """
    Visible width of a potentially multinie content.

    >>> _max_line_width('this\\nis\\na\\nmultiline\\ntext')
    9

    """
    if not s:
        return 0
    return max(map(len, s.splitlines()))
