def marker.ahead
import cswap-bend-cli@0.1.0.0/render.bend as Renderimport 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 ""