def codes

cswap-bend-cli@0.1.0.0 · tui/fmt.bend:216

import cswap-bend-cli@0.1.0.0/tui/fmt.bend as Fmt
import Base

216def codes(+r: Role, +dim: Bool) -> String:
217  sel.s(String.is_empty(sgr(r)), sel.s(dim, "2", ""), sel.s(dim, sgr(r) ++ ";2", sgr(r)))

Uses (7)

Used by (2)