def win_m
cswap-bend-cli@0.1.0.0 · render.bend:123
import cswap-bend-cli@0.1.0.0/render.bend as Render
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/clock.bend as Clock
import cswap-bend-cli@0.1.0.0/view.bend as View
123def win_m(+label: String, m: Maybe<&2, Json.Json>, weekly: Bool, +fetched: Maybe<&2, U32>, +now: U32, +off: U32) -> Maybe<&2, Line>:
124 match m:
125 case None{}:
126 None{}
127 case Some{+w}:
128 Some{window_line(label, w, Clock.sel.s(weekly, marker.ahead(View.pace_of(w, fetched)), ""), now, off)}