View.best_line: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/tui/view.bend as View Lines 237-242 of cswap-bend-cli@0.1.0.0/tui/view.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/tui/view.bend&start_line=237&end_line=242 import Base import cswap-bend-cli@0.1.0.0/tui/fmt.bend as F import cswap-bend-cli@0.1.0.0/tui/card.bend as C def best_line(+m: Maybe<&2, Best>) -> List<&2, F.Seg>: match m: case None{}: [C.muted("next best none (no other account has a reading)")] case Some{b}: [C.muted("next best "), F.sg(best_name(b), F.RAccent{}), C.muted(" ยท " ++ pct_label(best_free(b)) ++ "% free")] Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/card.bend&name=muted https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/fmt.bend&name=Role https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/fmt.bend&name=Seg https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/fmt.bend&name=sg https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/view.bend&name=Best https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/view.bend&name=best_free https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/view.bend&name=best_name https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/view.bend&name=pct_label