def render_rest

cswap-bend-cli@0.1.0.0 · tui/fmt.bend:279

import cswap-bend-cli@0.1.0.0/tui/fmt.bend as Fmt
import 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)

Uses (6)

Used by (1)