def card

cswap-bend-cli@0.1.0.0 · tui/card.bend:162

import cswap-bend-cli@0.1.0.0/tui/card.bend as Card
import Base
import cswap-bend-cli@0.1.0.0/tui/fmt.bend as F
import cswap-bend-cli@0.1.0.0/tui/model.bend as M

162# The full card of the active account.
163def card(+a: M.Acct, +v: M.View, +thr: Maybe<&2, U32>, +now: U32, +off: U32) -> List<&2, List<&2, F.Seg>>:
164  Con{head_line(a), card_rows(a, M.acct_wins(a), v, thr, now, off)}

Uses (9)

Used by (1)