def paint_all
import cswap-bend-cli@0.1.0.0/tui/fmt.bend as Fmtimport Base
227def paint_all(+l: List<&2, Seg>, +color: Bool) -> String:
228 match l:
229 case Nil{}:
230 ""
231 case Con{s, t}:
232 paint_seg(s, color) ++ paint_all(t, color)