urwid
has a number of different widgets that allow text to be displayed, and a few ways to format the text to the window size. How can I format the text of a widget to wrap the first line and truncate the second? To be specific:
`a rather long string that is wrapped on the first line and clipped on the second'
(window boundary)
|-------------------------------------|
|a rather long string that is wrapped |
|on the first line and clipped on t...|
|-------------------------------------|
Of course this could be done manually by counting chars, but that would get ugly quickly, esp. with window resizing.