def render_rest
import cswap-bend-cli@0.1.0.0/tui/fmt.bend as Fmtimport Base
279def render_rest(+ls: List<&2, List<&2, Seg>>, +color: Bool) -> String:
280 match ls:
281 case Nil{}:
282 ""
283 case Con{l, t}:
284 "\n" ++ paint(l, color) ++ render_rest(t, color)