euporie.core.widgets.layout.fragment_list_width

euporie.core.widgets.layout.fragment_list_width(fragments: StyleAndTextTuples) int

Return the character width of this text fragment list. (Take double width characters into account.)

Parameters:

fragments – List of (style_str, text) or (style_str, text, mouse_handler) tuples.