def log_lines

cswap-bend-cli@0.1.0.0 · tui/view.bend:251

import cswap-bend-cli@0.1.0.0/tui/view.bend as View
import Base
import cswap-bend-cli@0.1.0.0/tui/fmt.bend as F
import cswap-bend-cli@0.1.0.0/tui/card.bend as C

251def log_lines(+ls: List<&2, String>) -> List<&2, List<&2, F.Seg>>:
252  match ls:
253    case Nil{}:
254      [[C.muted("  no daemon log yet")]]
255    case _:
256      log_each(ls)

Uses (5)

Used by (1)