split

fun Component.split(endWidth: Int, space: Int, charWidth: (Pair<Style, Int>) -> Int?): List<WidthComponent>
fun <T> List<T>.split(splitSize: Int): List<List<T>>