def auto_style

bend-kit-tty@0.1.0.1 · tty.bend:24

import bend-kit-tty@0.1.0.1/tty.bend as Tty
import Base

24def auto_style(code: U32, text: String) -> IO(String):
25  do IO<String>:
26    enabled : Bool <- color_enabled()
27    return style(enabled, code, text)

Uses (8)

Used by (0)

No other definition uses this definition.