Rich is a Python library for rich text and beautiful formatting in the terminal.
Calculate cell length of Segments once, make it a plain class