def marker.ahead

cswap-bend-cli@0.1.0.0 · render.bend:89

import cswap-bend-cli@0.1.0.0/render.bend as Render
import Base
import cswap-bend-cli@0.1.0.0/clock.bend as Clock
import cswap-bend-cli@0.1.0.0/view.bend as View

89def marker.ahead(m: Maybe<&2, View.Pace>) -> String:
90  match m:
91    case Some{View.Pace{e, a, eta, last}}:
92      Clock.sel.s(a, "  (ahead of pace)", "")
93    case None{}:
94      ""

Uses (4)

Used by (2)