Tty.auto_style: def of bend-kit-tty@0.1.0.1 Import: import bend-kit-tty@0.1.0.1/tty.bend as Tty Lines 24-27 of bend-kit-tty@0.1.0.1/tty.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-tty@0.1.0.1/tty.bend&start_line=24&end_line=27 import Base def auto_style(code: U32, text: String) -> IO(String): do IO: enabled : Bool <- color_enabled() return style(enabled, code, text) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-tty@0.1.0.1/tty.bend&name=color_enabled https://jend.leeeet.dev/definition.txt?path=bend-kit-tty@0.1.0.1/tty.bend&name=style