def suffix

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

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

114# The suffix of a row: the clock form where it fits, a (!) for a maxed model.
115def suffix(+w: M.Win, +now: U32, +off: U32, +room: Nat) -> String:
116  mark(w, pick_suffix(reset_full(M.win_reset(w), now, off), reset_short(M.win_reset(w), now), room))

Uses (9)

Used by (1)