Fmt.sgr: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/tui/fmt.bend as Fmt Lines 195-214 of cswap-bend-cli@0.1.0.0/tui/fmt.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/tui/fmt.bend&start_line=195&end_line=214 import Base def sgr(+r: Role) -> String: match r: case RPlain{}: "" case RBold{}: "1" case RAccent{}: "38;5;173" case RAccentB{}: "1;38;5;173" case RMuted{}: "38;5;245" case ROk{}: "38;5;108" case RWarn{}: "38;5;179" case RCrit{}: "38;5;167" case RTrack{}: "38;5;238" Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/tui/fmt.bend&name=Role