def acct_lines2
cswap-bend-cli@0.1.0.0 · clilist.bend:65
import cswap-bend-cli@0.1.0.0/clilist.bend as Clilist
import Base
import cswap-bend-cli@0.1.0.0/pollrow.bend as Pollrow
import cswap-bend-cli@0.1.0.0/view.bend as View
import cswap-bend-cli@0.1.0.0/render.bend as Render
65def acct_lines2(sentinel: Maybe<&2, String>, +row: Pollrow.Row, +now: U32, +off: U32) -> List<&2, String>:
66 match sentinel row:
67 case Some{s} Pollrow.Row{fetched, lg, la, fl, le, bu, np, iv, l429, st, sfp, cu, hu}:
68 Render.sentinel_lines(s, lg, fetched, Pollrow.age_of(fetched, now), off)
69 case None{} Pollrow.Row{+fetched, lg, la, fl, le, bu, np, iv, l429, st, sfp, cu, hu}:
70 lines.measured(View.is_obj(lg), lg, fetched, now, off, le)